From 3040963be3b5b7d84db1591b8dd61855c8d88b92 Mon Sep 17 00:00:00 2001
From: Brian Barnes <brian.barnes@totaralms.com>
Date: Fri, 11 Jul 2014 11:28:54 +1200
Subject: [PATCH] MDL-46325 behat: Fixed issue where 'teacher1' didn't exist

---
 .../tests/behat/block_course_summary_frontpage.feature          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blocks/course_summary/tests/behat/block_course_summary_frontpage.feature b/blocks/course_summary/tests/behat/block_course_summary_frontpage.feature
index 7c6373deaa0..5d9330ba486 100644
--- a/blocks/course_summary/tests/behat/block_course_summary_frontpage.feature
+++ b/blocks/course_summary/tests/behat/block_course_summary_frontpage.feature
@@ -27,7 +27,7 @@ Feature: Course summary block used on the frontpage
     Then I should see "Front page settings" in the "h2" "css_element"
 
   Scenario: Admin can not see edit icon when edit mode is off
-    When I log in as "teacher1"
+    When I log in as "admin"
     And I am on homepage
     Then I should see "Proved the summary block works!" in the "Course/site summary" "block"
     And "Edit" "link" should not exist in the "Course/site summary" "block"