* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6514] - Fix usage of @AutoConfigureMockMvc without mocking
This commit is contained in:
amit2103
2018-05-19 14:16:18 +05:30
committed by Eugen
parent 047722347e
commit 110d3891c4
8 changed files with 14 additions and 10 deletions

View File

@@ -1,11 +1,12 @@
package com.baeldung.flips.model;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
@Data
@RequiredArgsConstructor
public class Foo {
private final String name;
private final int id;
@NonNull private final String name;
@NonNull private final int id;
}

View File

@@ -20,7 +20,7 @@ import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
"first.active.after=2999-03-15T00:00:00Z",
"logging.level.org.flips=info"
})
}, webEnvironment = SpringBootTest.WebEnvironment.MOCK)
@AutoConfigureMockMvc
@ActiveProfiles("dev")
public class FlipControllerTest {