about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-20 00:57:17 +0000
committerEric Wong <e@80x24.org>2016-06-20 00:57:39 +0000
commit0c8f677e55941c5c65b263294692899c549ce533 (patch)
tree17a806c0af928bcdc52932c5b13b2abcc744534f /t
parent4b313dc74bc9bb84a542b7ec920cdb92879e7523 (diff)
downloadpublic-inbox-0c8f677e55941c5c65b263294692899c549ce533.tar.gz
Inboxes are normally created by Config, but having the
population logic in Inbox should make it easier to mock
for testing.
Diffstat (limited to 't')
-rw-r--r--t/feed.t1
-rw-r--r--t/html_index.t1
2 files changed, 0 insertions, 2 deletions
diff --git a/t/feed.t b/t/feed.t
index 5dd869aa..19a9ba09 100644
--- a/t/feed.t
+++ b/t/feed.t
@@ -43,7 +43,6 @@ my $tmpdir = tempdir('pi-feed-XXXXXX', TMPDIR => 1, CLEANUP => 1);
 my $git_dir = "$tmpdir/gittest";
 my $ibx = PublicInbox::Inbox->new({
         address => 'test@example',
-        -primary_address => 'test@example',
         name => 'testbox',
         mainrepo => $git_dir,
         url => 'http://example.com/test',
diff --git a/t/html_index.t b/t/html_index.t
index 32d7b8de..100d21a8 100644
--- a/t/html_index.t
+++ b/t/html_index.t
@@ -13,7 +13,6 @@ my $tmpdir = tempdir('pi-http-XXXXXX', TMPDIR => 1, CLEANUP => 1);
 my $git_dir = "$tmpdir/gittest";
 my $ibx = PublicInbox::Inbox->new({
         address => 'test@example',
-        -primary_address => 'test@example',
         name => 'tester',
         mainrepo => $git_dir,
         url => 'http://example.com/test',