Commit Graph

12 Commits

Author SHA1 Message Date
Roberto Rosario
40ab6b6f9f Fix role creation API not returning id of new role. GitLab issue #390.
Thanks to @lokeshmanmode for the find.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2017-06-17 03:00:58 -04:00
Roberto Rosario
80f64d7fcf Add BaseAPITestCase class that invalidates the permission and smart settings caches.
Use BaseAPITestCase for all API test cases.
2017-02-16 21:12:55 -04:00
Roberto Rosario
5f99b123d7 Merge branch 'master' into master_merge 2017-02-03 14:08:34 -04:00
Roberto Rosario
e2c8f7b3fc Add complete role API endpoints (role create, patch, put, delete,
add/update role groups, add/update role permissions).
2017-01-30 18:33:06 -04:00
Roberto Rosario
5ea31554bc Update and fix failing tests. 2017-01-14 03:08:32 -04:00
Roberto Rosario
d05345ed3c Update tests to match generic CBV success message. 2016-03-08 02:37:22 -04:00
Roberto Rosario
cbc1f12bf6 Simplify tests teatDown method. 2015-11-01 02:57:55 -04:00
Roberto Rosario
df7a5c6e1c Reorganize tests literals and move then to their respective apps. 2015-10-20 21:14:07 -04:00
Roberto Rosario
90a1ecb826 Add permissions app views tests. 2015-10-15 19:37:04 -04:00
Roberto Rosario
5da248375f Move test magic numbers and strings into test.literals.py. 2015-10-08 02:57:42 -04:00
Roberto Rosario
4432cb5c2e Add view permission for the smart settings app. It is no longer required to be a super admin or staff user to see the setting values. 2015-08-25 17:35:31 -04:00
Roberto Rosario
4fb86fba14 Re-estructure tests to cleanup the apps' namespace. 2015-08-18 23:06:26 -04:00