Skip to content

Commit ba2ed46

Browse files
committed
add assertion for content
1 parent a6db774 commit ba2ed46

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"phpstan/phpstan": "1.12.5",
3535
"phpstan/phpstan-phpunit": "1.4.0",
3636
"phpstan/phpstan-symfony": "1.4.10",
37-
"phpunit/phpunit": "^8.5.21||^9.6.21",
37+
"phpunit/phpunit": "^8.5.40||^9.6.21",
3838
"symfony/browser-kit": "^4.4.20||^5.0.11||^6.0||^7.0",
3939
"symfony/cache": "^4.4.20||^5.0.11||^6.0||^7.0",
4040
"symfony/dom-crawler": "^4.4.20||^5.0.11||^6.0||^7.0",

tests/End2End/TracingEnd2EndTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function testTracingWithDoctrineConnectionPing(): void
4040
$response = $client->getResponse();
4141

4242
$this->assertInstanceOf(Response::class, $response);
43+
$this->assertEquals('Success', $response->getContent());
4344
$this->assertSame(200, $response->getStatusCode());
4445

4546
$this->assertLastEventIdIsNotNull($client);
@@ -55,6 +56,7 @@ public function testTracingWithIgnoredTransaction(): void
5556
$response = $client->getResponse();
5657

5758
$this->assertInstanceOf(Response::class, $response);
59+
$this->assertEquals('Success', $response->getContent());
5860
$this->assertSame(200, $response->getStatusCode());
5961

6062
$this->assertLastEventIdIsNull($client);

0 commit comments

Comments
 (0)