From 77a51c79ab7a9ecf8e6c5d850e6aad519f6aefb7 Mon Sep 17 00:00:00 2001 From: ehyland Date: Mon, 30 Mar 2015 16:59:31 +1100 Subject: [PATCH] Updated example code Made class extend FunctionalTest. --- .../06_Testing/How_Tos/01_Write_a_FunctionalTest.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/06_Testing/How_Tos/01_Write_a_FunctionalTest.md b/docs/en/02_Developer_Guides/06_Testing/How_Tos/01_Write_a_FunctionalTest.md index de7297bb8..0b13c1bdb 100644 --- a/docs/en/02_Developer_Guides/06_Testing/How_Tos/01_Write_a_FunctionalTest.md +++ b/docs/en/02_Developer_Guides/06_Testing/How_Tos/01_Write_a_FunctionalTest.md @@ -12,7 +12,7 @@ response and modify the session within a test. :::php assertEquals(200, $page->getStatusCode()); // We should see a login form - $login = $this->submitForm("#LoginForm", null, array( + $login = $this->submitForm("LoginFormID", null, array( 'Email' => 'test@test.com', 'Password' => 'wrongpassword' ));