test error - PersonInfosControllerTest#test_should_get_index
Closed this issue · 0 comments
bestlong commented
PersonInfosControllerTest#test_should_get_index:
NoMethodError: undefined method `permissionType' for nil:NilClass
app/controllers/person_infos_controller.rb:24:in `getPersonInfo'
test/controllers/person_infos_controller_test.rb:6:in `block in <class:PersonInfosControllerTest>'