Skip to content

Commit 05928fc

Browse files
committed
code beauty
1 parent 98af7d9 commit 05928fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/groovy/edu/ie3/simona/api/data/results/ExtResultDataTest.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,9 @@ class ExtResultDataTest extends Specification {
120120
def dataService = new TestProbe(actorSystem)
121121
def extSimAdapter = new TestProbe(actorSystem)
122122
def extResultData = new ExtResultData(dataService.ref(), extSimAdapter.ref(), new DefaultResultFactory())
123-
def listOfResults = [loadResult]
124123

125124
when:
126-
def mapOfResults = extResultData.convertResultsList(listOfResults)
125+
def mapOfResults = extResultData.convertResultsList([loadResult])
127126

128127
then:
129128
mapOfResults.size() == 1

0 commit comments

Comments
 (0)