formating fixes
authormonishdeb <monish.deb@webaccessglobal.com>
Fri, 20 Mar 2015 16:40:57 +0000 (22:10 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Fri, 20 Mar 2015 16:40:57 +0000 (22:10 +0530)
CRM/Mailing/Selector/Event.php
tests/phpunit/WebTest/Mailing/MailingTest.php

index 30d5a00ca0d69eb50d32680822243962dce31818..b9678bc9063b8a4c76bdcb079382d5e3fb4102da 100644 (file)
@@ -168,8 +168,8 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
           break;
 
         case 'delivered':
-          $this->_columnHeaders = array('contact_id' =>
-            array(
+          $this->_columnHeaders = array(
+            'contact_id' => array(
               'name' => ts('Internal Contact ID'),
               'sort' => $contact . '.id',
               'direction' => CRM_Utils_Sort::ASCENDING,
@@ -243,15 +243,13 @@ class CRM_Mailing_Selector_Event extends CRM_Core_Selector_Base implements CRM_C
           return 0;
       }
 
-      $this->_columnHeaders = array_merge($this->_columnHeaders,
-        array('date' =>
-          array(
-            'name' => ts('Date'),
-            'sort' => $dateSort,
-            'direction' => CRM_Utils_Sort::DESCENDING,
+      $this->_columnHeaders = array_merge($this->_columnHeaders, array(
+        'date' => array(
+          'name' => ts('Date'),
+          'sort' => $dateSort,
+          'direction' => CRM_Utils_Sort::DESCENDING,
           ),
-        )
-      );
+        ));
     }
     return $this->_columnHeaders;
   }
index 9abbc437a94a9b30dcc6fe274ebfc89792e62b9d..2c542c7bebd3252fcd258f38c8ca76329f63b122 100644 (file)
@@ -130,7 +130,7 @@ class WebTest_Mailing_MailingTest extends CiviSeleniumTestCase {
 
     $this->waitForTextPresent("Mailing $mailingName Webtest");
     $this->click("xpath=//div[@class='content']//a[text()='~1 recipient']");
-    $this->webtestVerifyTabularData(array("$firstName Mailson"=> "mailino$firstName@mailson.co.in"));
+    $this->webtestVerifyTabularData(array("$firstName Mailson" => "mailino$firstName@mailson.co.in"));
     $this->click("xpath=//button[@title='Close']");
     $this->waitForTextPresent("(Include: $groupName)");
 
@@ -380,7 +380,7 @@ class WebTest_Mailing_MailingTest extends CiviSeleniumTestCase {
 
     $this->waitForTextPresent("Mailing $mailingName Webtest");
     $this->click("xpath=//div[@class='content']//a[text()='~1 recipient']");
-    $this->webtestVerifyTabularData(array("$firstName Mailson"=> "mailino$firstName@mailson.co.in"));
+    $this->webtestVerifyTabularData(array("$firstName Mailson" => "mailino$firstName@mailson.co.in"));
     $this->click("xpath=//button[@title='Close']");
     $this->waitForTextPresent("(Include: $groupName)");