@@ -56,7 +56,7 @@ public function testMainDefault()
5656 array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' , 'active ' => false )
5757 );
5858
59- $ this ->assertEquals ($ expected , $ return );
59+ $ this ->assertSame ($ expected , $ return );
6060 }
6161
6262 public function testMainOther ()
@@ -84,7 +84,7 @@ public function testMainOther()
8484 array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' , 'active ' => false )
8585 );
8686
87- $ this ->assertEquals ($ expected , $ return );
87+ $ this ->assertSame ($ expected , $ return );
8888 }
8989
9090 public function testMainEmpty ()
@@ -98,7 +98,7 @@ public function testMainEmpty()
9898
9999 $ expected = array ();
100100
101- $ this ->assertEquals ($ expected , $ return );
101+ $ this ->assertSame ($ expected , $ return );
102102 }
103103
104104 public function testBarDefault ()
@@ -123,7 +123,7 @@ public function testBarDefault()
123123 array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' )
124124 );
125125
126- $ this ->assertEquals ($ expected , $ return );
126+ $ this ->assertSame ($ expected , $ return );
127127 }
128128
129129 public function testBarOther ()
@@ -148,7 +148,7 @@ public function testBarOther()
148148 array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' )
149149 );
150150
151- $ this ->assertEquals ($ expected , $ return );
151+ $ this ->assertSame ($ expected , $ return );
152152 }
153153
154154 public function testBarEmpty ()
@@ -162,7 +162,7 @@ public function testBarEmpty()
162162
163163 $ expected = array ();
164164
165- $ this ->assertEquals ($ expected , $ return );
165+ $ this ->assertSame ($ expected , $ return );
166166 }
167167
168168 public function testAddToMain ()
@@ -171,7 +171,7 @@ public function testAddToMain()
171171
172172 $ return = $ navigation ->addToMain (array ('title ' => 'Test ' , 'slug ' => 'test ' ));
173173
174- $ this ->assertEquals ($ navigation , $ return );
174+ $ this ->assertSame ($ navigation , $ return );
175175 }
176176
177177 public function testAddToBar ()
@@ -180,7 +180,7 @@ public function testAddToBar()
180180
181181 $ return = $ navigation ->addToBar (array ('title ' => 'Test ' , 'slug ' => 'test ' ));
182182
183- $ this ->assertEquals ($ navigation , $ return );
183+ $ this ->assertSame ($ navigation , $ return );
184184 }
185185
186186 public function testGetHTMLNoBar ()
@@ -203,7 +203,7 @@ public function testGetHTMLNoBar()
203203
204204 $ return = $ navigation ->render ('default ' , false );
205205
206- $ this ->assertEquals ( $ return , 'html goes here ' );
206+ $ this ->assertSame ( 'html goes here ' , $ return );
207207 }
208208
209209 public function testGetHTMLEmptyBar ()
@@ -228,7 +228,7 @@ public function testGetHTMLEmptyBar()
228228
229229 $ return = $ navigation ->render ('default ' , 'default ' );
230230
231- $ this ->assertEquals ( $ return , 'html goes here ' );
231+ $ this ->assertSame ( 'html goes here ' , $ return );
232232 }
233233
234234 public function testGetHTMLWithBar ()
@@ -254,7 +254,7 @@ public function testGetHTMLWithBar()
254254
255255 $ return = $ navigation ->render ('default ' , 'default ' );
256256
257- $ this ->assertEquals ( $ return , 'html goes here ' );
257+ $ this ->assertSame ( 'html goes here ' , $ return );
258258 }
259259
260260 public function testSetRequest ()
@@ -267,7 +267,7 @@ public function testSetRequest()
267267
268268 $ return = $ navigation ->getRequest ();
269269
270- $ this ->assertEquals ($ request , $ return );
270+ $ this ->assertSame ($ request , $ return );
271271 }
272272
273273 protected function getNavigation ()
0 commit comments