From 7aa78225846c648c4c1a4c01910fc8f76e7bea40 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 26 Jul 2013 15:29:44 +1200 Subject: [PATCH] CRM-13072 mark tests non-enotice compliant --- tests/phpunit/CRM/Core/ErrorTest.php | 4 +++ .../Extension/Container/CollectionTest.php | 4 +++ .../api/v3/dataset/financial_types.xml | 25 ------------------- 3 files changed, 8 insertions(+), 25 deletions(-) delete mode 100644 tests/phpunit/api/v3/dataset/financial_types.xml diff --git a/tests/phpunit/CRM/Core/ErrorTest.php b/tests/phpunit/CRM/Core/ErrorTest.php index 45559a72d6..be3b81fd26 100644 --- a/tests/phpunit/CRM/Core/ErrorTest.php +++ b/tests/phpunit/CRM/Core/ErrorTest.php @@ -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', diff --git a/tests/phpunit/CRM/Extension/Container/CollectionTest.php b/tests/phpunit/CRM/Extension/Container/CollectionTest.php index 5d9774a02c..a27b4679c3 100644 --- a/tests/phpunit/CRM/Extension/Container/CollectionTest.php +++ b/tests/phpunit/CRM/Extension/Container/CollectionTest.php @@ -27,6 +27,10 @@ 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 index 72e3278028..0000000000 --- a/tests/phpunit/api/v3/dataset/financial_types.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - name - description - is_deductible - is_reserved - is_active - - Gift - For some worthwhile cause - 0 - - 1 - - - Prize - Also for some worthwhile cause - 0 - - 1 - -
-
-- 2.25.1