Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 3fa273e

Browse files
Test fixes
1 parent cfeddee commit 3fa273e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<whitelist processUncoveredFilesFromWhitelist="true">
2323
<directory suffix=".php">./src</directory>
2424
<exclude>
25-
<directory>./src/config</directory>
25+
<directory>./src/views</directory>
2626
</exclude>
2727
</whitelist>
2828
</filter>

tests/NavigationTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public function testMainDefault()
5151
$return = $this->callProtected($navigation, 'getMain', array('default'));
5252

5353
$expected = array(
54-
array('title' => 'Next', 'url' => 'http://laravel.com/next', 'active' => true),
55-
array('title' => 'Test', 'url' => 'http://laravel.com/test', 'active' => false),
54+
array('title' => 'Next', 'active' => true, 'url' => 'http://laravel.com/next'),
55+
array('title' => 'Test', 'active' => false, 'url' => 'http://laravel.com/test'),
5656
array('title' => 'Laravel', 'url' => 'http://laravel.com/url', 'active' => false)
5757
);
5858

@@ -79,8 +79,8 @@ public function testMainOther()
7979
$return = $this->callProtected($navigation, 'getMain', array('other'));
8080

8181
$expected = array(
82-
array('title' => 'Next', 'url' => 'http://laravel.com/next', 'active' => true),
83-
array('title' => 'Test', 'url' => 'http://laravel.com/test', 'active' => false),
82+
array('title' => 'Next', 'active' => true, 'url' => 'http://laravel.com/next'),
83+
array('title' => 'Test', 'active' => false, 'url' => 'http://laravel.com/test'),
8484
array('title' => 'Laravel', 'url' => 'http://laravel.com/url', 'active' => false)
8585
);
8686

0 commit comments

Comments
 (0)