Skip to content
Permalink
Browse files

Fixed unit test

  • Loading branch information...
nilskuhn committed Jun 11, 2019
1 parent 1bd8b5d commit f1474db987264a5a7bc973fd6aba1ace017c18c4
@@ -89,7 +89,9 @@ class BrowserServiceSpec extends Specification implements BuildDataTest, Service
void "Get extended Browser informations for Browser #browserName"() {
given: "A browser with an associated Location with information"
Browser b = Browser.build(name: "Chrome")
Location.build(browser: b, active: true, operatingSystem: os, deviceType: dt)
Location loc = Location.build(browser: b, active: true, operatingSystem: os, deviceType: dt)
loc.active = true
loc.save(flush: true)

when: "Getting Browser infos and look up for the created browser"
List<BrowserInfoDto> browserInfos = service.getBrowserInfos()

0 comments on commit f1474db

Please sign in to comment.
You can’t perform that action at this time.