Updated the tests
This commit is contained in:
@@ -13,8 +13,6 @@ namespace CachetHQ\Tests\Cachet\Foundation\Providers;
|
|||||||
|
|
||||||
use AltThree\TestBench\ServiceProviderTrait;
|
use AltThree\TestBench\ServiceProviderTrait;
|
||||||
use CachetHQ\Cachet\Dates\DateFactory;
|
use CachetHQ\Cachet\Dates\DateFactory;
|
||||||
use CachetHQ\Cachet\Integrations\Credits;
|
|
||||||
use CachetHQ\Cachet\Integrations\Releases;
|
|
||||||
use CachetHQ\Tests\Cachet\AbstractTestCase;
|
use CachetHQ\Tests\Cachet\AbstractTestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -30,14 +28,4 @@ class AppServiceProviderTest extends AbstractTestCase
|
|||||||
{
|
{
|
||||||
$this->assertIsInjectable(DateFactory::class);
|
$this->assertIsInjectable(DateFactory::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testCreditsIsInjectable()
|
|
||||||
{
|
|
||||||
$this->assertIsInjectable(Credits::class);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testReleasesIsInjectable()
|
|
||||||
{
|
|
||||||
$this->assertIsInjectable(Releases::class);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,9 @@
|
|||||||
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
|
namespace CachetHQ\Tests\Cachet\Foundation\Providers;
|
||||||
|
|
||||||
use AltThree\TestBench\ServiceProviderTrait;
|
use AltThree\TestBench\ServiceProviderTrait;
|
||||||
|
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\Cachet\Integrations\Contracts\System;
|
||||||
use CachetHQ\Tests\Cachet\AbstractTestCase;
|
use CachetHQ\Tests\Cachet\AbstractTestCase;
|
||||||
|
|
||||||
@@ -19,13 +22,29 @@ use CachetHQ\Tests\Cachet\AbstractTestCase;
|
|||||||
* This is the integration service provider test class.
|
* This is the integration service provider test class.
|
||||||
*
|
*
|
||||||
* @author James Brooks <james@alt-three.com>
|
* @author James Brooks <james@alt-three.com>
|
||||||
|
* @author Graham Campbell <graham@alt-three.com>
|
||||||
*/
|
*/
|
||||||
class IntegrationServiceProviderTest extends AbstractTestCase
|
class IntegrationServiceProviderTest extends AbstractTestCase
|
||||||
{
|
{
|
||||||
use ServiceProviderTrait;
|
use ServiceProviderTrait;
|
||||||
|
|
||||||
|
public function testCreditsIsInjectable()
|
||||||
|
{
|
||||||
|
$this->assertIsInjectable(Credits::class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testFeedIsInjectable()
|
||||||
|
{
|
||||||
|
$this->assertIsInjectable(Feed::class);
|
||||||
|
}
|
||||||
|
|
||||||
public function testSystemIsInjectable()
|
public function testSystemIsInjectable()
|
||||||
{
|
{
|
||||||
$this->assertIsInjectable(System::class);
|
$this->assertIsInjectable(System::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testReleasesIsInjectable()
|
||||||
|
{
|
||||||
|
$this->assertIsInjectable(Releases::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user