Permalink
Browse files

[#615]

  • Loading branch information...
1 parent 0888362 commit 661ab1b25f71a3d057da8570caa719e5a6d6a7e6 @pepite pepite committed Jan 1, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 samples-and-tests/validation/test/application/SomeTests.java
View
6 samples-and-tests/validation/test/application/SomeTests.java
@@ -1,10 +1,10 @@
package application;
import org.junit.Test;
-import play.test.ApplicationTest;
+import play.test.FunctionalTest;
import play.mvc.Http.Response;
-public class SomeTests extends ApplicationTest {
+public class SomeTests extends FunctionalTest {
@Test
public void fakeTest() {
@@ -22,7 +22,7 @@ public void indexTest() {
// check the declared charset encoding
assertCharset(play.Play.defaultWebEncoding, response);
// check some content in the page. may also test a regexp
- assertContentMatch("<h1>It works !</h1>", response);
+ assertContentMatch("<h1>Validation samples</h1>", response);
}
}

0 comments on commit 661ab1b

Please sign in to comment.