Skip to content

Commit 151f368

Browse files
committed
Update tests
1 parent c4666e3 commit 151f368

File tree

5 files changed

+5
-28
lines changed

5 files changed

+5
-28
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ php:
88
before_script:
99
- composer install --dev
1010

11-
script: phpunit
11+
script: phpunit --coverage-clover=clover.xml
1212

1313
after_script:
1414
- wget https://scrutinizer-ci.com/ocular.phar

phpunit.xml.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,4 @@
1616
<directory suffix="Test.php">tests</directory>
1717
</testsuite>
1818
</testsuites>
19-
<logging>
20-
<log type="coverage-clover" target="./clover.xml"/>
21-
</logging>
2219
</phpunit>

tests/Fixtures/NotExtends.php

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/StaticEntityBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function testSameInstances()
4949

5050
/**
5151
* @expectedException \Exception
52-
* @expectedExceptionMessage must returns an array
52+
* @expectedExceptionMessage seems invalid
5353
*/
5454
public function testInvalidDataSet()
5555
{
@@ -59,7 +59,7 @@ public function testInvalidDataSet()
5959

6060
/**
6161
* @expectedException \Exception
62-
* @expectedExceptionMessage Data at index
62+
* @expectedExceptionMessage seems invalid
6363
*/
6464
public function testInvalidData()
6565
{

tests/StaticEntityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testSameInstances()
4343

4444
/**
4545
* @expectedException \Exception
46-
* @expectedExceptionMessage must returns an array
46+
* @expectedExceptionMessage seems invalid
4747
*/
4848
public function testInvalidDataSet()
4949
{
@@ -52,7 +52,7 @@ public function testInvalidDataSet()
5252

5353
/**
5454
* @expectedException \Exception
55-
* @expectedExceptionMessage Data at index
55+
* @expectedExceptionMessage seems invalid
5656
*/
5757
public function testInvalidData()
5858
{

0 commit comments

Comments
 (0)