File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/scala/com/codacy/client/bitbucket/v2 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class UserSpecs extends FlatSpec with Matchers with Inside {
47
47
48
48
value.fold(e => fail(s " $e" ), emails => emails.length shouldBe 3 )
49
49
}
50
- it should " successfully parse a JSON into an array of Team " in {
50
+ it should " successfully parse a JSON into an array of TeamWithPermission " in {
51
51
val input = """
52
52
|[
53
53
|{
@@ -133,7 +133,7 @@ class UserSpecs extends FlatSpec with Matchers with Inside {
133
133
|]
134
134
""" .stripMargin
135
135
val json = Json .parse(input)
136
- val value = json.validate[Seq [Team ]]
136
+ val value = json.validate[Seq [TeamWithPermission ]]
137
137
138
138
value.fold(e => fail(s " $e" ), teams => teams.length shouldBe 2 )
139
139
}
You can’t perform that action at this time.
0 commit comments