We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1c5ea commit f400b85Copy full SHA for f400b85
composer.json
@@ -16,10 +16,9 @@
16
"illuminate/database": "^5.1",
17
"illuminate/events": "^5.1",
18
"mongodb/mongodb": "^1.0.0"
19
-
20
},
21
"require-dev": {
22
- "phpunit/phpunit": "^4.0|^5.0",
+ "phpunit/phpunit": "^5.0|^6.0",
23
"orchestra/testbench": "^3.1",
24
"mockery/mockery": "^0.9",
25
"satooshi/php-coveralls": "^1.0"
tests/ModelTest.php
@@ -218,7 +218,7 @@ public function testNoDocument()
218
219
public function testFindOrfail()
220
{
221
- $this->setExpectedException('Illuminate\Database\Eloquent\ModelNotFoundException');
+ $this->expectException('Illuminate\Database\Eloquent\ModelNotFoundException');
222
User::findOrfail('51c33d8981fec6813e00000a');
223
}
224
0 commit comments