Class wine.alert.RetailerGroupControllerSpec

7

tests

6

failures

0

ignored

0.554s

duration

14%

successful

Failed tests

Test that the delete action deletes an instance if it exists

Condition not satisfied:

false

TODO: Provide a populateValidParams() implementation for this generated test suite

	at wine.alert.RetailerGroupControllerSpec.populateValidParams(RetailerGroupControllerSpec.groovy:15)
	at wine.alert.RetailerGroupControllerSpec.Test that the delete action deletes an instance if it exists(RetailerGroupControllerSpec.groovy:138)

Test that the edit action returns the correct model

Condition not satisfied:

false

TODO: Provide a populateValidParams() implementation for this generated test suite

	at wine.alert.RetailerGroupControllerSpec.populateValidParams(RetailerGroupControllerSpec.groovy:15)
	at wine.alert.RetailerGroupControllerSpec.Test that the edit action returns the correct model(RetailerGroupControllerSpec.groovy:86)

Test that the show action returns the correct model

Condition not satisfied:

false

TODO: Provide a populateValidParams() implementation for this generated test suite

	at wine.alert.RetailerGroupControllerSpec.populateValidParams(RetailerGroupControllerSpec.groovy:15)
	at wine.alert.RetailerGroupControllerSpec.Test that the show action returns the correct model(RetailerGroupControllerSpec.groovy:70)

Test the index action returns the correct model

java.lang.NullPointerException: Cannot invoke method assignState() on null object
	at wine.alert.RetailerGroupController.index(RetailerGroupController.groovy:19)
	at wine.alert.RetailerGroupController.index_closure6(RetailerGroupController.groovy)
	at groovy.lang.Closure.call(Closure.java:426)
	at groovy.lang.Closure.call(Closure.java:442)
	at grails.transaction.GrailsTransactionTemplate$2.doInTransaction(GrailsTransactionTemplate.groovy:96)
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
	at grails.transaction.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:93)
	at wine.alert.RetailerGroupControllerSpec.Test the index action returns the correct model(RetailerGroupControllerSpec.groovy:21)

Test the save action correctly persists an instance

Condition not satisfied:

false

TODO: Provide a populateValidParams() implementation for this generated test suite

	at wine.alert.RetailerGroupControllerSpec.populateValidParams(RetailerGroupControllerSpec.groovy:15)
	at wine.alert.RetailerGroupControllerSpec.Test the save action correctly persists an instance(RetailerGroupControllerSpec.groovy:51)

Test the update action performs an update on a valid domain instance

Condition not satisfied:

false

TODO: Provide a populateValidParams() implementation for this generated test suite

	at wine.alert.RetailerGroupControllerSpec.populateValidParams(RetailerGroupControllerSpec.groovy:15)
	at wine.alert.RetailerGroupControllerSpec.Test the update action performs an update on a valid domain instance(RetailerGroupControllerSpec.groovy:116)

Tests

Test Duration Result
Test that the delete action deletes an instance if it exists 0.019s failed
Test that the edit action returns the correct model 0.017s failed
Test that the show action returns the correct model 0.009s failed
Test the create action returns the correct model 0.019s passed
Test the index action returns the correct model 0.448s failed
Test the save action correctly persists an instance 0.012s failed
Test the update action performs an update on a valid domain instance 0.030s failed