- my $ng = PublicInbox::NewsGroup->new('test', 'test.git',
- 'a@example.com', '//example.com/a');
- is($ng->{url}, $u, 'URL expanded');
+ my $ibx = PublicInbox::Inbox->new({ name => 'test',
+ inboxdir => 'test.git',
+ address => 'a@example.com',
+ -primary_address => 'a@example.com',
+ newsgroup => 'test',
+ domain => 'example.com',
+ url => [ '//example.com/a' ]});
+ is($ibx->base_url, $u, 'URL expanded');