Skip to content

Commit 3fd2e6e

Browse files
author
Mikaël Capelle
committed
Uncomment incorrectly commented test.
1 parent 2ba1f68 commit 3fd2e6e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/TestCase/View/Helper/BootstrapNavbarHelperTest.php

+10-10
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,15 @@ public function testText() {
251251
'/p'
252252
];
253253
$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);
263263
}
264264

265265
public function testMenu() {
@@ -276,7 +276,7 @@ public function testMenu() {
276276
$result .= $this->navbar->link('Something else here');
277277
$result .= $this->navbar->divider();
278278
$result .= $this->navbar->link('Another action');
279-
$result .= $this->navbar->endMenu();
279+
$result .= $this->navbar->endMenu();
280280
$result .= $this->navbar->endMenu();
281281
$expected = [
282282
['ul' => ['class' => 'my-menu nav navbar-nav']],

0 commit comments

Comments
 (0)