Correct use of Spock setup and cleanup methods (no need for @Before @After) 82/137182/4
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 7 Feb 2024 17:07:25 +0000 (17:07 +0000)
committerToineSiebelink <toine.siebelink@est.tech>
Thu, 8 Feb 2024 11:27:01 +0000 (11:27 +0000)
commita670176caac46fb68ef0a8ced0160c980f4cce05
tree566bdf839c98825b9b5ed4e5b0e53ab9993e420d
parenta3096b9d22b7a3517c7933dfeb10984f6bedf063
Correct use of Spock setup and cleanup methods (no need for @Before @After)

- unfortunately we copied the bad test code for logging about 4 times alraedy...
- simplified setup for WatchdogSchedulingConfigurerSpec

Issue-ID:CPS-465

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I8d068541263272fdf99a6e30d365d85e31726432
cps-ncmp-rest/src/test/groovy/org/onap/cps/ncmp/rest/executor/CpsNcmpTaskExecutorSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/events/cmsubscription/CmSubscriptionNcmpInEventConsumerSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/inventory/sync/ModuleSyncTasksSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/inventory/sync/config/WatchdogSchedulingConfigurerSpec.groovy