projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing comments - tests directory
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
Import
/
ContactSubtypeTest.php
diff --git
a/tests/phpunit/WebTest/Import/ContactSubtypeTest.php
b/tests/phpunit/WebTest/Import/ContactSubtypeTest.php
index 8d67b4257269c2a31dfab56e7402981e8db92680..a74f1f52b3d96facbeeddd7128818e9ee9094a6a 100644
(file)
--- a/
tests/phpunit/WebTest/Import/ContactSubtypeTest.php
+++ b/
tests/phpunit/WebTest/Import/ContactSubtypeTest.php
@@
-271,6
+271,9
@@
class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
/*
* Helper function to create Household Subtype.
*/
/*
* Helper function to create Household Subtype.
*/
+ /**
+ * @return string
+ */
function _createHouseholdSubtype() {
// Visit to create contact subtype
function _createHouseholdSubtype() {
// Visit to create contact subtype
@@
-288,6
+291,9
@@
class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
/*
* Helper function to provide data for contact import for Individuals Subtype.
*/
/*
* Helper function to provide data for contact import for Individuals Subtype.
*/
+ /**
+ * @return array
+ */
function _individualSubtypeCSVData() {
$headers = array(
'first_name' => 'First Name',
function _individualSubtypeCSVData() {
$headers = array(
'first_name' => 'First Name',
@@
-333,6
+339,9
@@
class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
/*
* Helper function to provide data for contact import for Organizations Subtype.
*/
/*
* Helper function to provide data for contact import for Organizations Subtype.
*/
+ /**
+ * @return array
+ */
function _organizationSubtypeCSVData() {
$headers = array(
'organization_name' => 'Organization Name',
function _organizationSubtypeCSVData() {
$headers = array(
'organization_name' => 'Organization Name',
@@
-372,6
+381,9
@@
class WebTest_Import_ContactSubtypeTest extends ImportCiviSeleniumTestCase {
/*
* Helper function to provide data for contact import for Household Subtype.
*/
/*
* Helper function to provide data for contact import for Household Subtype.
*/
+ /**
+ * @return array
+ */
function _householdSubtypeCSVData() {
$headers = array(
'household_name' => 'Household Name',
function _householdSubtypeCSVData() {
$headers = array(
'household_name' => 'Household Name',