Commit 7755a9a7 authored by abhisekmazumdar's avatar abhisekmazumdar Committed by adriancid

Issue #3031310 by akshay_d, abhisekmazumdar, adriancid: Replace deprecated method assertRaw

parent 0d9171ca
......@@ -2,6 +2,8 @@ Admin Toolbar 8.x-1.27, 2019-XX-XX
----------------------------------
Changes since 8.x-1.26:
- #3031310 by akshay_d, abhisekmazumdar, adriancid: Replace deprecated method
assertRaw.
- #3031107 by adriancid: Update the CHANGELOG.txt.
Admin Toolbar 8.x-1.26, 2019-02-03
......
......@@ -48,7 +48,7 @@ class AdminToolbarToolsAlterTest extends BrowserTestBase {
*/
public function testAdminToolbarTools() {
// Assert that special menu items are present in the HTML.
$this->assertRaw('class="toolbar-icon toolbar-icon-admin-toolbar-tools-flush"');
$this->assertSession()->responseContains('class="toolbar-icon toolbar-icon-admin-toolbar-tools-flush"');
}
}
......@@ -48,7 +48,7 @@ class AdminToolbarAlterTest extends BrowserTestBase {
*/
public function testAdminToolbar() {
// Assert that expanded links are present in the HTML.
$this->assertRaw('class="toolbar-icon toolbar-icon-user-admin-index"');
$this->assertSession()->responseContains('class="toolbar-icon toolbar-icon-user-admin-index"');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment