File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.6
5
4
- 7.0
6
5
7
6
# faster builds on new travis setup not using sudo
15
14
16
15
install :
17
16
- travis_retry composer self-update && composer --version
18
- - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1 "
17
+ - travis_retry composer global require "fxp/composer-asset-plugin:^1.2.0 "
19
18
- export PATH="$HOME/.composer/vendor/bin:$PATH"
20
19
- travis_retry composer install --prefer-dist --no-interaction
21
20
Original file line number Diff line number Diff line change 6
6
use yii \base \Event ;
7
7
use yii \helpers \Json ;
8
8
use yii2mod \comments \models \CommentModel ;
9
- use yii2mod \comments \Module ;
10
9
use yii2mod \comments \tests \data \DefaultController ;
11
10
use yii2mod \comments \tests \data \PostModel ;
12
11
use yii2mod \comments \tests \data \User ;
@@ -156,6 +155,6 @@ private function generateEntity()
156
155
'entity ' => hash ('crc32 ' , get_class ($ post )),
157
156
'entityId ' => $ post ->id ,
158
157
'relatedTo ' => get_class ($ post ) . ': ' . $ post ->id ,
159
- ]), Module:: $ name ));
158
+ ]), ' comment ' ));
160
159
}
161
160
}
Original file line number Diff line number Diff line change 9
9
/**
10
10
* This is the base class for all yii framework unit tests.
11
11
*/
12
- class TestCase extends \PHPUnit_Framework_TestCase
12
+ class TestCase extends \PHPUnit \ Framework \TestCase
13
13
{
14
14
protected function setUp ()
15
15
{
You can’t perform that action at this time.
0 commit comments