Fixed failing test due to changing the key name in the root-level object, removed the serialVersionUID compile flag.
This commit is contained in:
@@ -30,7 +30,7 @@ configure(subprojects) { subproject ->
|
||||
compile.extendsFrom providedCompile
|
||||
}
|
||||
|
||||
[compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:serial", "-Xlint:unchecked"]
|
||||
[compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:unchecked"]
|
||||
|
||||
project.sourceCompatibility = 1.6
|
||||
project.targetCompatibility = 1.6
|
||||
|
||||
@@ -42,7 +42,7 @@ class DiscoverySpec extends BaseSpec {
|
||||
|
||||
then:
|
||||
response.statusCode == HttpStatus.OK
|
||||
body.resources.size() == 10
|
||||
body.content.size() == 10
|
||||
body.page.total == 2
|
||||
body.page.current == 1
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class QueryMethodsSpec extends BaseSpec {
|
||||
|
||||
then:
|
||||
response.statusCode == HttpStatus.OK
|
||||
body.resources.size() == 1
|
||||
body.content.size() == 1
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user