From 9170dcb87f3aaaac46a6e776511b62d0714f2dab Mon Sep 17 00:00:00 2001 From: Shreyas Minocha Date: Sun, 6 Jan 2019 20:43:42 +0530 Subject: [PATCH] Fix a grammatical error --- .../src/main/resources/i18n/WebGoatLabels.properties | 8 ++++---- .../plugin/introduction/SqlInjectionLesson5aTest.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webgoat-lessons/sql-injection/src/main/resources/i18n/WebGoatLabels.properties b/webgoat-lessons/sql-injection/src/main/resources/i18n/WebGoatLabels.properties index 409f69b6f..3b4a7ff59 100644 --- a/webgoat-lessons/sql-injection/src/main/resources/i18n/WebGoatLabels.properties +++ b/webgoat-lessons/sql-injection/src/main/resources/i18n/WebGoatLabels.properties @@ -20,14 +20,14 @@ SqlStringInjectionHint9=Intercept the request and try to specify a different ord SqlStringInjectionHint10=Use for example "(case when (true) then hostname else id end)" in the order by and see what happens SqlStringInjectionHint11=Use for example "(case when (true) then hostname else id end)" in the order by and see what happens -sql-injection.5a.success=You have succeed: {0} +sql-injection.5a.success=You have succeeded: {0} sql-injection.5a.no.results=No results matched. Try Again. -sql-injection.5b.success=You have succeed: {0} +sql-injection.5b.success=You have succeeded: {0} sql-injection.5b.no.results=No results matched. Try Again. -sql-injection.6a.success=You have succeed: {0} +sql-injection.6a.success=You have succeeded: {0} sql-injection.6a.no.results=No results matched. Try Again. -sql-injection.6b.success=You have succeed: {0} +sql-injection.6b.success=You have succeeded: {0} sql-injection.6b.no.results=No results matched. Try Again. diff --git a/webgoat-lessons/sql-injection/src/test/java/org/owasp/webgoat/plugin/introduction/SqlInjectionLesson5aTest.java b/webgoat-lessons/sql-injection/src/test/java/org/owasp/webgoat/plugin/introduction/SqlInjectionLesson5aTest.java index d180ca0af..16a6db791 100644 --- a/webgoat-lessons/sql-injection/src/test/java/org/owasp/webgoat/plugin/introduction/SqlInjectionLesson5aTest.java +++ b/webgoat-lessons/sql-injection/src/test/java/org/owasp/webgoat/plugin/introduction/SqlInjectionLesson5aTest.java @@ -63,7 +63,7 @@ public class SqlInjectionLesson5aTest extends LessonTest { .andExpect(status().isOk()) .andExpect(jsonPath("lessonCompleted", is(true))) - .andExpect(jsonPath("$.feedback", containsString("You have succeed"))) + .andExpect(jsonPath("$.feedback", containsString("You have succeeded"))) .andExpect(jsonPath("$.output").doesNotExist()); } @@ -77,4 +77,4 @@ public class SqlInjectionLesson5aTest extends LessonTest { .andExpect(jsonPath("$.feedback", containsString(messages.getMessage("assignment.not.solved")))) .andExpect(jsonPath("$.output", is("malformed string: '1''"))); } -} \ No newline at end of file +}