Remove erroneously committed change

This commit is contained in:
Rossen Stoyanchev 2020-09-01 09:42:24 +01:00
parent e365e0221a
commit 25165f552d
1 changed files with 0 additions and 16 deletions

View File

@ -58,22 +58,6 @@ public class ModelAssertionTests {
.alwaysExpect(status().isOk())
.build();
@Test
void name() throws Exception {
EntityExchangeResult<Void> result = client.get().uri("/path")
.exchange()
.expectBody().isEmpty();
MockMvcWebTestClient.resultActionsFor(result)
.andExpect(model().attribute("integer", 3))
.andExpect(model().attribute("string", "a string value"))
.andExpect(model().attribute("integer", equalTo(3))) // Hamcrest...
.andExpect(model().attribute("string", equalTo("a string value")))
.andExpect(model().attribute("globalAttrName", equalTo("Global Attribute Value")));
}
@Test
void attributeEqualTo() throws Exception {
performRequest(HttpMethod.GET, "/")