Skip to content
Snippets Groups Projects
Commit d0c35306 authored by Demian Katz's avatar Demian Katz
Browse files

Code simplification.

parent 157eb7de
No related merge requests found
...@@ -328,8 +328,7 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase ...@@ -328,8 +328,7 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
$this->submitLoginForm($page); $this->submitLoginForm($page);
// Save the favorites. // Save the favorites.
$submit = $this->findCss($page, '.modal-body input[name=submit]'); $this->findCss($page, '.modal-body input[name=submit]')->click();
$submit->click();
$result = $this->findCss($page, '.modal-body .alert-info'); $result = $this->findCss($page, '.modal-body .alert-info');
$this->assertEquals( $this->assertEquals(
'Your item(s) were saved successfully', $result->getText() 'Your item(s) were saved successfully', $result->getText()
......
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