CRM-13072 mark tests non-enotice compliant
authoreileen <eileen@fuzion.co.nz>
Fri, 26 Jul 2013 03:29:44 +0000 (15:29 +1200)
committereileen <eileen@fuzion.co.nz>
Fri, 26 Jul 2013 03:29:44 +0000 (15:29 +1200)
tests/phpunit/CRM/Core/ErrorTest.php
tests/phpunit/CRM/Extension/Container/CollectionTest.php
tests/phpunit/api/v3/dataset/financial_types.xml [deleted file]

index 45559a72d64720180edfc5648d727503c94e4a7d..be3b81fd26045705d578adf0341be70af94a8ef9 100644 (file)
@@ -31,6 +31,10 @@ require_once 'CiviTest/CiviUnitTestCase.php';
  * Tests for linking to resource files
  */
 class CRM_Core_ErrorTest extends CiviUnitTestCase {
+  //@todo make BAO enotice compliant  & remove the line below
+  // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE
+  // new test classes should be compliant.
+  public $_eNoticeCompliant = FALSE;
   function get_info() {
     return array(
       'name'    => 'Errors',
index 5d9774a02c4c94c1937312fe043c78650bfd0109..a27b4679c374ff93ea41489736e4eb53288adcb6 100644 (file)
 require_once 'CiviTest/CiviUnitTestCase.php';
 
 class CRM_Extension_Container_CollectionTest extends CiviUnitTestCase {
+  //@todo make BAO enotice compliant  & remove the line below
+  // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE
+  // new test classes should be compliant.
+  public $_eNoticeCompliant = FALSE;
   function setUp() {
     parent::setUp();
   }
diff --git a/tests/phpunit/api/v3/dataset/financial_types.xml b/tests/phpunit/api/v3/dataset/financial_types.xml
deleted file mode 100644 (file)
index 72e3278..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--  $Id:  -->
-<dataset>
-  <table name="civicrm_financial_type">
-    <column>name</column>
-    <column>description</column>
-    <column>is_deductible</column>
-    <column>is_reserved</column>
-    <column>is_active</column>
-    <row>
-      <value>Gift</value>  <!--  name  -->
-      <value>For some worthwhile cause</value>  <!--  description  -->
-      <value>0</value>  <!--  is_deductible  -->
-      <null />  <!--  is_reserved  -->
-      <value>1</value>  <!--  is_active  -->
-    </row>
-    <row>
-      <value>Prize</value>  <!--  name  -->
-      <value>Also for some worthwhile cause</value>  <!--  description  -->
-      <value>0</value>  <!--  is_deductible  -->
-      <null />  <!--  is_reserved  -->
-      <value>1</value>  <!--  is_active  -->
-    </row>
-  </table>
-</dataset>