You are here

function LocationTestCase::getLocationSettingsDefaults in Location 7.4

1 call to LocationTestCase::getLocationSettingsDefaults()
CowInstanceTest::testCreateLocation in tests/cow.test

File

tests/location_testcase.php, line 84
Common functions for Location tests.

Class

LocationTestCase

Code

function getLocationSettingsDefaults() {
  return array(
    'location_settings' => array(
      'multiple' => array(
        'max' => 1,
        'add' => 1,
      ),
      'form' => array(
        'fields' => $this
          ->getLocationFieldDefaults(),
      ),
    ),
  );
}