Cachet/tests/Foundation/Providers/RepositoryServiceProviderTest.php
2016-05-28 16:19:33 +01:00

32 lines
756 B
PHP

<?php
/*
* This file is part of Cachet.
*
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
use CachetHQ\Tests\Cachet\AbstractTestCase;
/**
* This is the repository service provider test class.
*
* @author Graham Campbell <graham@alt-three.com>
*/
class RepositoryServiceProviderTest extends AbstractTestCase
{
use ServiceProviderTrait;
public function testMetricRepositoryIsInjectable()
{
$this->assertIsInjectable(MetricRepository::class);
}
}