Skip to content
Snippets Groups Projects
Commit 49bec462 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Add wrong password test to FavoritesTest.

parent 5ddbbf99
No related merge requests found
......@@ -161,9 +161,12 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
// - empty
$page->find('css', '.modal-body .btn.btn-primary')->click();
$this->assertNotNull($page->find('css', $username));
// - TODO wrong
// - for real
// - wrong
$page->find('css', $username)->setValue(self::$hash);
$page->find('css', $password)->setValue('superwrong');
$page->find('css', '.modal-body .btn.btn-primary')->click();
$this->assertNotNull($page->find('css', $username));
// - for real
$page->find('css', $password)->setValue('test');
$page->find('css', '.modal-body .btn.btn-primary')->click();
// Make sure we don't have Favorites because we have another populated list
......
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