Improved domain exception tests to cover more possible mutants

This commit is contained in:
Alejandro Celaya
2019-12-01 10:14:29 +01:00
parent 8cc4d3e6d5
commit 1bf56b658b
9 changed files with 115 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ class AuthenticationTest extends ApiTestCase
public function authorizationErrorIsReturnedIfNoApiKeyIsSent(): void
{
$expectedDetail = sprintf(
'Expected one of the following authentication headers, but none were provided, ["%s"]',
'Expected one of the following authentication headers, ["%s"], but none were provided',
implode('", "', RequestToHttpAuthPlugin::SUPPORTED_AUTH_HEADERS)
);