Fix tests

This commit is contained in:
Philipp 2021-11-27 19:03:01 +01:00 committed by Hypolite Petovan
parent 14ec87e68c
commit 313d74598d
4 changed files with 10 additions and 9 deletions

View file

@ -69,8 +69,6 @@ XML;
$notification = new Notification(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), [], ['extension' => 'xml']);
$response = $notification->run();
print_r($response->getHeaders());
self::assertXmlStringEqualsXmlString($assertXml, (string)$response->getBody());
self::assertEquals(['Content-type' => ['text/xml'], ICanCreateResponses::X_HEADER => ['xml']], $response->getHeaders());
}