Skip to content

Commit

Permalink
test(metric): Fix coverage to reach 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
zlodes committed Sep 3, 2023
1 parent b26bc3e commit 1aff939
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Metric/MetricTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Zlodes\PrometheusClient\Metric\Gauge;
use Zlodes\PrometheusClient\Metric\Histogram;
use Zlodes\PrometheusClient\Metric\Metric;
use Zlodes\PrometheusClient\Metric\Summary;

class MetricTest extends TestCase
{
Expand Down Expand Up @@ -44,5 +45,6 @@ public static function prometheusMetricNameDataProvider(): iterable
yield 'counter' => ['counter', new Counter('foo', 'help')];
yield 'gauge' => ['gauge', new Gauge('foo', 'help')];
yield 'histogram' => ['histogram', new Histogram('foo', 'help')];
yield 'summary' => ['summary', new Summary('foo', 'help')];
}
}

0 comments on commit 1aff939

Please sign in to comment.