From ff2f74f5cd393649f63d4e7223f72cd558f56893 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 23 Jun 2015 12:21:38 -0500 Subject: [PATCH] Fix Given course TEMP exists in Behat test --- tests/features/bootstrap/FeatureContext.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/features/bootstrap/FeatureContext.php b/tests/features/bootstrap/FeatureContext.php index 58f6d11154..a9e0345712 100644 --- a/tests/features/bootstrap/FeatureContext.php +++ b/tests/features/bootstrap/FeatureContext.php @@ -132,9 +132,8 @@ class FeatureContext extends MinkContext { return array( new Given('I am a platform administrator'), - new Given('I am on "/main/admin/course_add.php"'), - new Given('I press "/main/admin/course_list.php?delete_course=TEMP"'), - new Given('I press "OK"') + new Given('I am on "/main/admin/course_list.php?keyword=TEMP"'), + new Given('I should see "TEMP"'), ); } /**