Skip to content

Commit 4f4bbb0

Browse files
Updated the tests
1 parent b3269f0 commit 4f4bbb0

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

tests/AbstractTestCase.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
namespace GrahamCampbell\Tests\HTMLMin;
1818

19-
use GrahamCampbell\TestBench\AbstractLaravelTestCase;
19+
use GrahamCampbell\TestBench\AbstractPackageTestCase;
2020

2121
/**
2222
* This is the abstract test case class.
@@ -25,14 +25,16 @@
2525
* @copyright 2013-2014 Graham Campbell
2626
* @license <https://github.com/GrahamCampbell/Laravel-HTMLMin/blob/master/LICENSE.md> Apache 2.0
2727
*/
28-
abstract class AbstractTestCase extends AbstractLaravelTestCase
28+
abstract class AbstractTestCase extends AbstractPackageTestCase
2929
{
3030
/**
3131
* Get the service provider class.
3232
*
33+
* @param \Illuminate\Contracts\Foundation\Application $app
34+
*
3335
* @return string
3436
*/
35-
protected function getServiceProviderClass()
37+
protected function getServiceProviderClass($app)
3638
{
3739
return 'GrahamCampbell\HTMLMin\HTMLMinServiceProvider';
3840
}

tests/Functional/BladeEnabledTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class BladeEnabledTest extends AbstractFunctionalTestCase
3434
*
3535
* @return void
3636
*/
37-
protected function additionalSetup(Application $app)
37+
protected function additionalSetup($app)
3838
{
3939
$app['config']->set('graham-campbell/htmlmin::blade', true);
4040
}

tests/Functional/LiveEnabledTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class LiveEnabledTest extends AbstractFunctionalTestCase
3636
*
3737
* @return void
3838
*/
39-
protected function additionalSetup(Application $app)
39+
protected function additionalSetup($app)
4040
{
4141
$app['config']->set('graham-campbell/htmlmin::live', true);
4242
}

0 commit comments

Comments
 (0)