* @param $expectedValues
*/
public function assertDBCompareValues($daoName, $searchParams, $expectedValues) {
- if (!self::checkDoLocalDBTest()) {
- return;
- }
-
- return CiviDBAssert::assertDBCompareValues($this, $daoName, $searchParams, $expectedValues);
- }
-
- /**
- * @param $expectedValues
- * @param $actualValues
- */
- public function assertAttributesEquals(&$expectedValues, &$actualValues) {
- if (!self::checkDoLocalDBTest()) {
- return;
+ if (self::checkDoLocalDBTest()) {
+ CiviDBAssert::assertDBCompareValues($this, $daoName, $searchParams, $expectedValues);
}
-
- return CiviDBAssert::assertAttributesEquals($expectedValues, $actualValues);
}
/**
* @param string $message
*/
public function assertType($expected, $actual, $message = '') {
- return $this->assertInternalType($expected, $actual, $message);
+ $this->assertInternalType($expected, $actual, $message);
}
/**
* which uses the entity info as its selection value
* @param array $pageUrl
* The url which on which the ajax custom group load takes place.
- * @param bool $beforeTriggering
+ * @param string $beforeTriggering
* @return void
*/
public function customFieldSetLoadOnTheFlyCheck($customSets, $pageUrl, $beforeTriggering = NULL) {
/**
* Enable or disable Pop-ups via Display Preferences
+ * @param bool $enabled
*/
public function enableDisablePopups($enabled = TRUE) {
$this->openCiviPage('admin/setting/preferences/display', 'reset=1');