fixes tests for samba ad
authorPhilipp Schüle <p.schuele@metaways.de>
Tue, 5 Apr 2016 16:18:07 +0000 (18:18 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Tue, 19 Apr 2016 13:12:28 +0000 (15:12 +0200)
commitec25f8adca76fbae51bd8a46ecb7e255473535dc
tree4c8f9ce01d3d2ccda45e19187616bb0ae021ee51
parent0dda03b540ed78c97e450bf5ad8f464b540a6c14
fixes tests for samba ad

* use getDefaultGroup fns instead of hard coded group names
* skip some tests that try to create multiple users with same CN
* obey to default ad password complexity
* users and groups can't have the same name in ad default setup
 (same base dn)
* disabled some test (users have no account
 email addresses with samba ad)

... and makes sure that users/groups are deleted
 in TestCase::tearDown, too

Change-Id: I80440ac13006bd0942c43daefabfbe289fb7ea19
Reviewed-on: http://gerrit.tine20.com/customers/3007
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
35 files changed:
tests/tine20/Admin/CliTest.php
tests/tine20/Admin/ControllerTest.php
tests/tine20/Admin/JsonTest.php
tests/tine20/Admin/files/test.csv
tests/tine20/Admin/files/testHeadline.csv
tests/tine20/Admin/files/tine_user3.csv
tests/tine20/Calendar/Controller/EventTests.php
tests/tine20/Calendar/Convert/Event/VCalendar/GenericTest.php
tests/tine20/Calendar/Frontend/ActiveSyncTest.php
tests/tine20/Calendar/Frontend/WebDAV/EventTest.php
tests/tine20/Calendar/Frontend/iMIPTest.php
tests/tine20/Calendar/Model/AttenderTests.php
tests/tine20/Calendar/Setup/DemoDataTests.php
tests/tine20/Courses/JsonTest.php
tests/tine20/Crm/Acl/RolesTest.php
tests/tine20/Sales/InvoiceControllerTests.php
tests/tine20/Tasks/Frontend/WebDAV/TaskTest.php
tests/tine20/Tasks/JsonTest.php
tests/tine20/TestCase.php
tests/tine20/Timetracker/JsonTest.php
tests/tine20/Tinebase/AccountTest.php
tests/tine20/Tinebase/Acl/RolesTest.php
tests/tine20/Tinebase/ControllerTest.php
tests/tine20/Tinebase/GroupTest.php
tests/tine20/Tinebase/TagsTest.php
tests/tine20/Tinebase/User/AbstractTest.php
tests/tine20/Tinebase/User/EmailUser/Imap/DovecotTest.php
tests/tine20/Tinebase/User/EmailUser/Smtp/PostfixTest.php
tests/tine20/Tinebase/UserTest.php
tests/tine20/Tinebase/WebDav/Plugin/PrincipalSearchTest.php
tests/tine20/Tinebase/WebDav/PrincipalBackendTest.php
tine20/Calendar/Setup/DemoData.php
tine20/Courses/Config.php
tine20/Courses/Controller/Course.php
tine20/Tinebase/Setup/DemoData/Abstract.php