1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 17:12:41 +00:00
Commit graph

10 commits

Author SHA1 Message Date
J. King
f902346b6c Eliminated passing of RuntimeData instances
- RuntimeData has now been replaced by a single static Data class
- The Data class has a load() method which fills the same role as the constructor of RuntimeData
- The static Lang class is now an instantiable class and is a member of Data
- All tests have been adjusted and pass
- The Exception tests no longer require convoluted workarounds: a simple mock  for Data::$l suffices; Lang tests also use a mock to prevent loops now instead of using a workaround
2017-03-28 18:50:00 -04:00
Dustin Wilson
7236020b8b Changed "NewsSync" to "Arsse" 2017-03-27 23:12:12 -05:00
J. King
104f646973 Code comments 2017-03-01 08:38:44 -05:00
J. King
13c17f5dd4 Small fixes to authorization exception tests 2017-02-28 14:04:14 -05:00
J. King
447fec993f Refector authorization exception tests 2017-02-28 13:10:04 -05:00
J. King
8841da9cbb Tweak authorization exception tests 2017-02-28 12:54:48 -05:00
J. King
2c9f6bd5a7 Cover authorization exceptions
Check each of the current User class features and ensure they trigger an exception when they should and do not when they shouldn't.  Tests check against both an internal and external mock driver
2017-02-28 12:37:45 -05:00
J. King
766f2b65a4 Cover unknown/invalid user levels 2017-02-28 11:19:33 -05:00
J. King
7ae3c978b3 Full set of tests for authorization
Invalid/unknown rights levels still need better testing.
2017-02-28 10:52:02 -05:00
J. King
e4852b581a Start on tests for authorization 2017-02-27 23:04:13 -05:00