Fixed tests

This commit is contained in:
philipp lang 2023-06-07 23:02:20 +02:00 committed by Philipp Lang
parent 79f818c0f9
commit ab43d42869
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class MailmanTypeTest extends TestCase
Phake::when($mock)->setCredentials('https://example.com', 'user', 'secret')->thenReturn($mock);
Phake::when($mock)->check()->thenReturn(true);
});
$type = new MailmanType([
$type = app(MailmanType::class)->setParams([
'url' => 'https://example.com',
'user' => 'user',
'password' => 'secret',
@ -35,7 +35,7 @@ class MailmanTypeTest extends TestCase
Phake::when($mock)->setCredentials('https://example.com', 'user', 'secret')->thenReturn($mock);
Phake::when($mock)->check()->thenReturn(false);
});
$type = new MailmanType([
$type = app(MailmanType::class)->setParams([
'url' => 'https://example.com',
'user' => 'user',
'password' => 'secret',