@@ -251,15 +251,15 @@ public function testText() {
251
251
'/p '
252
252
];
253
253
$ this ->assertHtml ($ expected , $ result );
254
- /*
255
- $result = $this->navbar->text(
256
- 'Some text with a <a href="/" class="my-class">link</a>.');
257
- $expected = [
258
- ['p' => ['class' => 'navbar-text']],
259
- 'Some text with a <a href="/" class="my-class navbar-link">link</a>.',
260
- '/p'
261
- ];
262
- $this->assertHtml($expected, $result); */
254
+
255
+ $ result = $ this ->navbar ->text (
256
+ 'Some text with a <a href="/" class="my-class">link</a>. ' );
257
+ $ expected = [
258
+ ['p ' => ['class ' => 'navbar-text ' ]],
259
+ 'Some text with a <a href="/" class="my-class navbar-link">link</a>. ' ,
260
+ '/p '
261
+ ];
262
+ $ this ->assertHtml ($ expected , $ result );
263
263
}
264
264
265
265
public function testMenu () {
@@ -276,7 +276,7 @@ public function testMenu() {
276
276
$ result .= $ this ->navbar ->link ('Something else here ' );
277
277
$ result .= $ this ->navbar ->divider ();
278
278
$ result .= $ this ->navbar ->link ('Another action ' );
279
- $ result .= $ this ->navbar ->endMenu ();
279
+ $ result .= $ this ->navbar ->endMenu ();
280
280
$ result .= $ this ->navbar ->endMenu ();
281
281
$ expected = [
282
282
['ul ' => ['class ' => 'my-menu nav navbar-nav ' ]],
0 commit comments