Skip to content

Commit

Permalink
Update UnitTests
Browse files Browse the repository at this point in the history
  • Loading branch information
fjogeleit committed Jun 11, 2021
1 parent a746137 commit 102bbaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- .:/app

phpunit:
image: jitesoft/phpunit:7.2
image: jitesoft/phpunit:7.4
depends_on:
- composer
volumes:
Expand Down
2 changes: 1 addition & 1 deletion tests/UnitTest/CollectCustomLabelsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ public function testCollectMessageExceptionSuccessfully(): void
$samples = $metrics[1]->getSamples();

$this->assertEquals(1, $samples[0]->getValue());
$this->assertEquals([FooMessage::class, 'FooMessage', 'Boom'], $samples[0]->getLabelValues());
$this->assertEquals([FooMessage::class, 'FooMessage', 'Handling "PrometheusMiddleware\Tests\Example\FooMessage" failed: Boom'], $samples[0]->getLabelValues());
}
}

0 comments on commit 102bbaf

Please sign in to comment.