projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4789 from totten/master-test-tx
[civicrm-core.git]
/
tests
/
phpunit
/
CRM
/
Core
/
BAO
/
LocationTest.php
diff --git
a/tests/phpunit/CRM/Core/BAO/LocationTest.php
b/tests/phpunit/CRM/Core/BAO/LocationTest.php
index 80050102712474cd027a3d5c84768e6a6190f263..441ff081eba4079fb2caa226eb9bd2d08e84831b 100644
(file)
--- a/
tests/phpunit/CRM/Core/BAO/LocationTest.php
+++ b/
tests/phpunit/CRM/Core/BAO/LocationTest.php
@@
-1,7
+1,7
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
5
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
@@
-36,15
+36,11
@@
require_once 'CiviTest/CiviUnitTestCase.php';
require_once 'CiviTest/Contact.php';
require_once 'CiviTest/Event.php';
require_once 'CiviTest/CiviUnitTestCase.php';
require_once 'CiviTest/Contact.php';
require_once 'CiviTest/Event.php';
-class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
- function get_info() {
- return array(
- 'name' => 'Location BAOs',
- 'description' => 'Test all Core_BAO_Location methods.',
- 'group' => 'CiviCRM BAO Tests',
- );
- }
+/**
+ * Class CRM_Core_BAO_LocationTest
+ */
+class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
function setUp() {
parent::setUp();
function setUp() {
parent::setUp();
@@
-85,7
+81,7
@@
class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
}
/**
}
/**
- *
c
reate() method
+ *
C
reate() method
* create various elements of location block
* without civicrm_loc_block entry
*/
* create various elements of location block
* without civicrm_loc_block entry
*/
@@
-209,7
+205,7
@@
class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
}
/**
}
/**
- *
c
reate() method
+ *
C
reate() method
* create various elements of location block
* with civicrm_loc_block
*/
* create various elements of location block
* with civicrm_loc_block
*/
@@
-356,7
+352,7
@@
class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
}
/**
}
/**
- *
d
eleteLocBlock() method
+ *
D
eleteLocBlock() method
* delete the location block
* created with various elements.
*
* delete the location block
* created with various elements.
*
@@
-450,7
+446,7
@@
class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
}
/**
}
/**
- *
g
etValues() method
+ *
G
etValues() method
* get the values of various location elements
*/
function testLocBlockgetValues() {
* get the values of various location elements
*/
function testLocBlockgetValues() {