Skip to content

Commit 4c94e8f

Browse files
committed
fixed tests
1 parent 122874e commit 4c94e8f

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

src/config/goals.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
install:
1+
deploy:
22
after:
33
- create-storage
44
- chmod-storage

tests/_bootstrap.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
99
*/
1010

11-
error_reporting(E_ALL & ~E_NOTICE);
11+
error_reporting(E_ALL);
1212

13-
require_once __DIR__ . '/../src/config/bootstrap.php';
13+
require_once __DIR__ . '/../vendor/autoload.php';
14+
require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';

tests/unit/models/AssetPackageTest.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212

1313
use hiqdev\assetpackagist\models\AssetPackage;
1414

15-
/**
16-
* Generated by PHPUnit_SkeletonGenerator on 2016-04-23 at 14:42:40.
17-
*/
18-
class AssetPackageTest extends \PHPUnit_Framework_TestCase
15+
class AssetPackageTest extends \PHPUnit\Framework\TestCase
1916
{
2017
/**
2118
* @var AssetPackage

tests/unit/models/StorageTest.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212

1313
use hiqdev\assetpackagist\components\Storage;
1414

15-
/**
16-
* Generated by PHPUnit_SkeletonGenerator on 2016-04-23 at 14:46:14.
17-
*/
18-
class StorageTest extends \PHPUnit_Framework_TestCase
15+
class StorageTest extends \PHPUnit\Framework\TestCase
1916
{
2017
/**
2118
* @var Storage

0 commit comments

Comments
 (0)