mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
57 lines
1.4 KiB
PHP
57 lines
1.4 KiB
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\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);
|
|
}
|
|
}
|