aodn / aatams

Animal Tracking (formerly AATAMS)
https://aatams.aodn.org.au
8 stars 3 forks source link

testSaveWithWithspaceAroundSerialNumber integration test is broken, #357

Closed julian1 closed 7 years ago

julian1 commented 7 years ago
...
Running test au.org.emii.aatams.monthlyreport.MonthlyReportsTests...PASSED
Running test au.org.emii.aatams.ReceiverEventControllerTests...2016-12-06 10:36:27,335 [main] [] INFO  ReceiverEventExportService - Elapsed time (ms): 21
2016-12-06 10:36:27,353 [main] [] INFO  ReceiverEventExportService - Elapsed time (ms): 4
PASSED
Tests Completed in 38471ms ...
-------------------------------------------------------
Tests passed: 106
Tests failed: 1
-------------------------------------------------------
testSaveWithWithspaceAroundSerialNumber Error   collection [shiro.SecUser.roles] was not processed by flush()

org.hibernate.AssertionFailure: collection [shiro.SecUser.roles] was not processed by flush()
    at au.org.emii.aatams.ReceiverController$_closure6.doCall(ReceiverController.groovy:51)
    at au.org.emii.aatams.ReceiverController$_closure6.doCall(ReceiverController.groovy)
    at au.org.emii.aatams.ReceiverControllerTests.testSaveWithWithspaceAroundSerialNumber(ReceiverControllerTests.groovy:10)

    0.068