add unit tests

This commit is contained in:
Matthew Goslett 2017-07-27 14:11:46 +02:00
parent 00cb369d0b
commit 9c2453f0e4
8 changed files with 508 additions and 22 deletions

View file

@ -42,8 +42,8 @@ class PrometheusServiceProvider extends ServiceProvider
});
$this->app->alias(PrometheusExporter::class, 'prometheus');
$this->app->bind('prometheus.storage_adapter_factory', function ($app) {
return new StorageAdapterFactory($app);
$this->app->bind('prometheus.storage_adapter_factory', function () {
return new StorageAdapterFactory();
});
$this->app->bind(Adapter::class, function ($app) {