Add working test suite
This commit is contained in:
26
tests/AbstractTestCase.php
Normal file
26
tests/AbstractTestCase.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace TomLingham\Tests\Searchy;
|
||||
|
||||
use GrahamCampbell\TestBench\AbstractPackageTestCase;
|
||||
use TomLingham\Searchy\SearchyServiceProvider;
|
||||
|
||||
/**
|
||||
* This is the abstract test case class.
|
||||
*
|
||||
* @author Vincent Klaiber <hello@vinkla.com>
|
||||
*/
|
||||
abstract class AbstractTestCase extends AbstractPackageTestCase
|
||||
{
|
||||
/**
|
||||
* Get the service provider class.
|
||||
*
|
||||
* @param \Illuminate\Contracts\Foundation\Application $app
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getServiceProviderClass($app)
|
||||
{
|
||||
return SearchyServiceProvider::class;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user