Skip to content

Commit b1b67be

Browse files
committed
fix tests
1 parent f0c5d85 commit b1b67be

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Tests/Controller/EmptyConfTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ public function setUp(): void
1515
public function testUndefinedConfManager()
1616
{
1717
$this->getManagerPage();
18+
1819
$content = html_entity_decode(
1920
$this->client->getResponse()->getContent(),
2021
ENT_QUOTES | ENT_HTML5
2122
);
23+
2224
$this->assertStringContainsString(
23-
$content,
24-
$this->client->getResponse()->getContent()
25+
'Please define a "dir" or a "service" parameter in your config.yml',
26+
$content
2527
);
28+
2629
$this->assertSame(
2730
Response::HTTP_INTERNAL_SERVER_ERROR,
2831
$this->client->getResponse()->getStatusCode()

0 commit comments

Comments
 (0)