Commit graph

96 commits

Author SHA1 Message Date
Toni Uebernickel b7fa0dccd2 fix AclTestCase to read moved acl_schema.xml 2012-02-07 17:27:01 +01:00
Toni Uebernickel 680da9e977 add handling of AclCacheInterface 2012-02-07 17:25:35 +01:00
Toni Uebernickel 04e7970312 make use of \PropelObjectCollection 2012-02-07 17:25:35 +01:00
Toni Uebernickel e73bc1098b apply code conventions (static public and phpDoc) 2012-02-07 17:25:35 +01:00
Toni Uebernickel af1053e149 add AuditableAcl(Provider)
* update provider class to AuditableAclProvider
* change auditing default to be more reasonable, 90% use case: log failures only
* add transformers to Model\Acl\Entry converting from/to Security\Acl\Domain\Entry
* fix MutableAclProvider to use getAcl method instead of creating MutableAcl directly
* re-factor MutableAcl::updateAce and MutableAclProvider::persistAcl to use Entry transformers
2012-02-07 17:25:35 +01:00
Toni Uebernickel 2231df621c add more tests for (Mutable)AclProvider
* fix usage of existing database entries
2012-02-07 17:25:35 +01:00
Toni Uebernickel babf3bf203 fix ObjectIdentity insert with assigned parent 2012-02-07 17:25:35 +01:00
Toni Uebernickel bd4b82749c add checks to (Field)EntryTest and EntryQueryTest 2012-02-07 17:25:35 +01:00
Toni Uebernickel 747ce485ae add tests for Acl\Domain\(Mutable)Acl 2012-02-07 17:25:35 +01:00
Toni Uebernickel c886302624 use assertCount where applicable 2012-02-07 17:25:34 +01:00
Toni Uebernickel 7a12aef44b add tests for Acl\Domain\(Field)Entry
* fix (un)serialize of (Field)Entry
2012-02-07 17:25:34 +01:00
Toni Uebernickel 27daeebfb9 add tests for AclProvider and MutableAclProvider
* re-factor Tests\Model\Acl\TestCase to Tests\AclTestCase sharing between Model\Acl and Security\Acl tests
* fix schema setting auditing flags to true by default
* fix MutableAcl inserting field based ACEs
* fix MutableAclProvider removing class based ACEs if last object identity is being removed
* fix EntryQuery error message if non-object has been provided in list of SecurityIdentity
2012-02-07 17:25:34 +01:00
Toni Uebernickel 03282b46b8 re-factored tests for ACL related models 2012-02-07 17:25:34 +01:00
Toni Uebernickel 78424c5519 add tests for ACL related models 2012-02-07 17:25:34 +01:00
Kévin Gomez Pinto db8ed4da4c Fix: fixtures ordering was not handled by the FixturesLoad command 2012-02-07 16:15:54 +01:00
Toni Uebernickel 9618a04e23 fix distributed testing environment 2012-01-12 17:42:34 +01:00
William DURAND 3c1a87d432 Merge branch '2.0' 2011-12-25 14:18:30 +01:00
William DURAND 32423b077e Added a unit test for the previous commit 2011-12-15 17:00:52 +01:00
William DURAND 29053029fb Merge branch '2.0' 2011-12-14 16:03:06 +01:00
William DURAND 26069a0d71 Fixed test on travis-ci 2011-12-14 16:02:15 +01:00
William DURAND b644e34738 Fixed typo 2011-12-14 14:57:18 +01:00
William DURAND 31ee48bf10 fixed security user reloading when the user has been changed via a form with validation errors 2011-12-14 14:41:36 +01:00
William DURAND 600808b2a1 Merge branch '2.0' 2011-12-05 18:43:23 +01:00
William DURAND ab50b5ec39 Fixed CS 2011-12-05 18:42:24 +01:00
Maxime AILLOUD c8909ca528 Avoid error when no slave database configuration are given + adding case in the test 2011-11-28 14:37:47 +01:00
William DURAND bfb99874ad Merge pull request #71 from Brouznouf/master
Add slaves configuration for connection in config.yml
2011-11-27 09:18:41 -08:00
Joel Wurtz 28451c9e76 Add unit test for slaves configuration 2011-11-27 14:30:02 +01:00
William DURAND 8baffd0aca Added missing SensioFrameworkExtraBundle to launch all unit tests. 2011-11-14 18:38:21 +01:00
William DURAND 7a6fe552c6 Removed useless code in autoloader.php.dist 2011-11-13 23:49:28 +01:00
William DURAND eaf6aa61da Added a way to launch unit tests in the bundle itself 2011-11-13 23:29:52 +01:00
jaugustin 75bef0beb6 [PropelParamConverter] add exclude option for Pk and fields, with tests and docs 2011-10-07 12:14:28 +02:00
jaugustin f53e2332c5 add test for paramconverter, fix issue with paramconverter findOneByXXX 2011-09-23 11:07:49 +02:00
William DURAND 1b7daacb2f Added more unit tests 2011-09-12 00:57:51 +02:00
William DURAND f64c5af86d [Tests] Removed tmpfiles in tests 2011-09-07 11:13:39 +02:00
William DURAND 0a05b56e64 [Tests] Added a test for the Yaml dumper 2011-09-07 11:08:05 +02:00
William DURAND 48f1baa10d [DataFixtures] Moved loader part to its own place 2011-09-06 13:30:09 +02:00
William DURAND 7b218eaaca [Tests] Added tests for PropelInflector class 2011-09-04 23:10:19 +02:00
William DURAND 16fc0d190e [DataFixtures] Added few tests 2011-09-03 14:26:43 +02:00
William DURAND 87ad04f2a8 Fixed LICENSE 2011-08-30 23:30:31 +02:00
William DURAND 031375df6e Fixed unit tests 2011-07-30 20:37:54 +02:00
William DURAND 383bb7664e Fixed PropelExtension with unit tests 2011-04-06 10:40:46 +02:00
William DURAND 417165de6c Fixed unit tests 2011-04-06 01:55:33 +02:00
William DURAND 993125f9ee Improved unit tests 2011-03-25 23:45:10 +01:00
William DURAND 5b5feecaf5 Changed namespace to Propel\PropelBundle 2011-02-14 22:31:28 +01:00
William DURAND f9b4daf1e4 Updated unit tests 2011-01-30 22:36:59 +01:00
Fabien Potencier d2b2a18237 added files 2010-10-28 14:41:03 +02:00