This commit is contained in:
James Brooks
2020-08-01 09:14:58 +01:00
parent dd1248a919
commit 90b450031f
8 changed files with 8 additions and 8 deletions

View File

@@ -0,0 +1,56 @@
<?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\Providers;
use AltThree\TestBench\ServiceProviderTrait;
use CachetHQ\Cachet\Integrations\Contracts\Beacon;
use CachetHQ\Cachet\Integrations\Contracts\Credits;
use CachetHQ\Cachet\Integrations\Contracts\Feed;
use CachetHQ\Cachet\Integrations\Contracts\Releases;
use CachetHQ\Cachet\Integrations\Contracts\System;
use CachetHQ\Tests\Cachet\AbstractTestCase;
/**
* This is the integration service provider test class.
*
* @author James Brooks <james@alt-three.com>
* @author Graham Campbell <graham@alt-three.com>
*/
class IntegrationServiceProviderTest extends AbstractTestCase
{
use ServiceProviderTrait;
public function testBeaconIsInjectable()
{
$this->assertIsInjectable(Beacon::class);
}
public function testCreditsIsInjectable()
{
$this->assertIsInjectable(Credits::class);
}
public function testFeedIsInjectable()
{
$this->assertIsInjectable(Feed::class);
}
public function testSystemIsInjectable()
{
$this->assertIsInjectable(System::class);
}
public function testReleasesIsInjectable()
{
$this->assertIsInjectable(Releases::class);
}
}