CRM-16473 - createLoggedInUser in setup & in test - reduce to setup only
authorEileen McNaughton <eileen@fuzion.co.nz>
Wed, 1 Jul 2015 02:00:41 +0000 (14:00 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 1 Jul 2015 02:00:41 +0000 (14:00 +1200)
tests/phpunit/api/v3/MailingABTest.php

index 17a81166cc5eed26ab67273af13df3f0ba464bd8..e0dc8a43967bac8d6a23f23c7ecafb88f6e17b8d 100755 (executable)
@@ -123,7 +123,6 @@ class api_v3_MailingABTest extends CiviUnitTestCase {
    * @dataProvider groupPctProvider
    */
   public function testDistribution($totalGroupContacts, $groupPct, $expectedCountA, $expectedCountB, $expectedCountC) {
-    $this->createLoggedInUser();
 
     $result = $this->groupContactCreate($this->_groupID, $totalGroupContacts);
     $this->assertEquals($totalGroupContacts, $result['added'], "in line " . __LINE__);