edbennett / cogs3

Project Management System
MIT License
0 stars 2 forks source link

funding.tests.test_views.FundingSourceDeleteViewTests.test_view_without_user_approval failing #144

Closed edbennett closed 5 years ago

edbennett commented 5 years ago

funding.tests.test_views.FundingSourceDeleteViewTests.test_view_without_user_approval fails; the user is able to access the detail view rather than being redirected

This appears to be a problem in loading the fixtures. The fixture defines this Attribution/FundingSource as being owned by user 1, but somehow by the time the user_passes_test function is reached, the owner has changed to user 7 (who happens to be who we are checking)