diff --git a/tests/Feature/Mailgateway/MailmanTypeTest.php b/tests/Feature/Mailgateway/MailmanTypeTest.php index 6eafb182..487bd882 100644 --- a/tests/Feature/Mailgateway/MailmanTypeTest.php +++ b/tests/Feature/Mailgateway/MailmanTypeTest.php @@ -18,11 +18,13 @@ class MailmanTypeTest extends TestCase $this->stubIo(MailmanService::class, function ($mock) { Phake::when($mock)->setCredentials('https://example.com', 'user', 'secret')->thenReturn($mock); Phake::when($mock)->check()->thenReturn(true); + Phake::when($mock)->setOwner('owner@example.com')->thenReturn($mock); }); $type = app(MailmanType::class)->setParams([ 'url' => 'https://example.com', 'user' => 'user', 'password' => 'secret', + 'owner' => 'owner@example.com', ]); $this->assertTrue($type->works());