Issue a POST request to the given path as a form post of the given key and values, and store the result in Response and ResponseBody.
data.Add("password", "testpassword") testSuite.PostForm("/login", data) testSuite.AssertOk() testSuite.AssertContains("login successful")
PostForm is referenced in 2 repositoriesgithub.com/revel/revel
- 1 reference in testing/testsuite_test.go
- 4 references in persona/tests/apptest.go