Commit Graph

17 Commits

Author SHA1 Message Date
Carsten Brandt
f4a9646a22 more on HHVM compatibility 2014-08-15 16:04:02 +02:00
Qiang Xue
5046e687e1 fixed random rbac testing failure. 2014-08-05 11:21:17 -04:00
Alexander Makarov
cadbbd813f Reduced gap between setting and checking mtime 2014-08-01 02:08:54 +04:00
Carsten Brandt
1dad82a0f6 avoid random test break 2014-07-30 14:19:32 +02:00
Carsten Brandt
9e62d5589a added unit test for #4489 2014-07-28 23:48:10 +02:00
Alexander Makarov
d1ccb92a34 Fixes #4489: RBAC PhpManager wasn't saving multiple assignmentsFixes #4489: RBAC PhpManager wasn't saving multiple assignments properly 2014-07-28 22:09:38 +04:00
Alexander Makarov
c68e5f1fdb Adjusted naming 2014-06-29 16:18:19 +04:00
Alexander Makarov
3eee7b8e4b Fixes #4072: \yii\rbac\PhpManager adjustments
- Data is now stored in three separate files for items, assignments and rules. File format is simpler.
- Removed `authFile`. Added `itemsFile`, `assignmentsFile` and `rulesFile`.
- `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
- `save()` and `load()` are now protected instead of public.
- Added unit test for saving and loading data.
2014-06-29 03:32:46 +04:00
Carsten Brandt
1a7b4c5383 added testcase of @UncleCoder
e43c503c2d

issue #3817
2014-06-12 10:52:36 +02:00
Qiang Xue
8fbe10acfd removed PhpManagerTest 2014-04-12 17:08:49 -04:00
Alexander Makarov
0e6cbda43e RBAC: decoupled rules from assignments and items, implemented php manager 2014-04-04 04:40:06 +04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Alexander Makarov
7cd9123c3b Tests cleanup
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
2013-05-24 18:35:00 +04:00
Carsten Brandt
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
Alexander Kochetov
4b8bcd43e0 Unit tests fix 2013-05-10 16:18:01 +04:00
Alexander Kochetov
bea449f8a0 Unit tests 2013-05-10 16:11:04 +04:00