@@ -37,8 +37,8 @@ public function setUp()
3737
3838 public function testCanParseMethodDescription ()
3939 {
40- if (version_compare ($ this ->app ->version (), '5.4 ' , '> = ' )) {
41- $ this ->markTestSkipped ('Dingo does not support Laravel 5.4 ' );
40+ if (version_compare ($ this ->app ->version (), '5.4 ' , '< = ' )) {
41+ $ this ->markTestSkipped ('Dingo does not support Laravel 5.4 or below ' );
4242 }
4343
4444 $ api = app ('Dingo\Api\Routing\Router ' );
@@ -55,8 +55,8 @@ public function testCanParseMethodDescription()
5555
5656 public function testCanParseRouteMethods ()
5757 {
58- if (version_compare ($ this ->app ->version (), '5.4 ' , '> = ' )) {
59- $ this ->markTestSkipped ('Dingo does not support Laravel 5.4 ' );
58+ if (version_compare ($ this ->app ->version (), '5.4 ' , '< = ' )) {
59+ $ this ->markTestSkipped ('Dingo does not support Laravel 5.4 or below ' );
6060 }
6161
6262 $ api = app ('Dingo\Api\Routing\Router ' );
@@ -85,8 +85,8 @@ public function testCanParseRouteMethods()
8585
8686 public function testCanParseFormRequestRules ()
8787 {
88- if (version_compare ($ this ->app ->version (), '5.4 ' , '> = ' )) {
89- $ this ->markTestSkipped ('Dingo does not support Laravel 5.4 ' );
88+ if (version_compare ($ this ->app ->version (), '5.4 ' , '< = ' )) {
89+ $ this ->markTestSkipped ('Dingo does not support Laravel 5.4 or below ' );
9090 }
9191
9292 $ api = app ('Dingo\Api\Routing\Router ' );
0 commit comments