Skip to content

Commit

Permalink
Fix a test since the init function has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
okonomiyaki3000 committed Nov 24, 2016
1 parent 7b0db14 commit 07c280c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/suites/libraries/cms/html/JHtmlBootstrapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ public function testTooltip()
'Verify that the alert method initialises Bootstrap as well'
);

$this->assertEquals(
$this->assertContains(
'jQuery(function($){ initTooltips();',
$document->_script['text/javascript'],
'jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });',
'Verify that the tooltip script is initialised'
);
}
Expand Down

0 comments on commit 07c280c

Please sign in to comment.