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.
|
|
|
|
*/
|
|
|
|
|
2016-01-05 02:30:37 +00:00
|
|
|
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;
|
2017-01-30 13:30:45 +00:00
|
|
|
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>
|
2017-01-30 13:30:45 +00:00
|
|
|
* @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
|
|
|
}
|