Skip to content

Commit f400b85

Browse files
committed
Bump phpunit
1 parent db1c5ea commit f400b85

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
"illuminate/database": "^5.1",
1717
"illuminate/events": "^5.1",
1818
"mongodb/mongodb": "^1.0.0"
19-
2019
},
2120
"require-dev": {
22-
"phpunit/phpunit": "^4.0|^5.0",
21+
"phpunit/phpunit": "^5.0|^6.0",
2322
"orchestra/testbench": "^3.1",
2423
"mockery/mockery": "^0.9",
2524
"satooshi/php-coveralls": "^1.0"

tests/ModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function testNoDocument()
218218

219219
public function testFindOrfail()
220220
{
221-
$this->setExpectedException('Illuminate\Database\Eloquent\ModelNotFoundException');
221+
$this->expectException('Illuminate\Database\Eloquent\ModelNotFoundException');
222222
User::findOrfail('51c33d8981fec6813e00000a');
223223
}
224224

0 commit comments

Comments
 (0)