Cachet/tests/Foundation/Providers/AppServiceProviderTest.php

33 lines
768 B
PHP
Raw Normal View History

2015-10-05 14:07:06 +01:00
<?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;
2015-10-05 14:07:06 +01:00
2015-12-06 11:04:02 +00:00
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Services\Dates\DateFactory;
2015-10-05 14:07:06 +01:00
use CachetHQ\Tests\Cachet\AbstractTestCase;
2015-12-06 11:04:02 +00:00
/**
* This is the app service provider test class.
*
* @author Graham Campbell <graham@alt-three.com>
* @author James Brooks <james@alt-three.com>
2015-12-06 11:04:02 +00:00
*/
2015-10-05 14:07:06 +01:00
class AppServiceProviderTest extends AbstractTestCase
{
2015-12-06 11:04:02 +00:00
use ServiceProviderTrait;
2016-05-28 16:19:33 +01:00
public function testDateFactoryIsInjectable()
{
$this->assertIsInjectable(DateFactory::class);
}
2015-10-05 14:07:06 +01:00
}