Révision a60304ed
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/flexslider/flexslider.test | ||
---|---|---|
96 | 96 |
$optionset = flexslider_optionset_load($testsets[0]); |
97 | 97 |
|
98 | 98 |
// Change the settings |
99 |
$optionset->options += $test_options['set2'];
|
|
99 |
$optionset->options = $test_options['set2'] + $optionset->options;
|
|
100 | 100 |
|
101 | 101 |
// Save the updated values |
102 | 102 |
$optionset = flexslider_optionset_save($optionset); |
... | ... | |
114 | 114 |
$this->assertTrue(flexslider_optionset_exists($optionset->name), t('Optionset exists and is ready to be deleted.')); |
115 | 115 |
flexslider_optionset_delete($optionset->name); |
116 | 116 |
|
117 |
// Ensure the delete is successfull
|
|
117 |
// Ensure the delete is successful |
|
118 | 118 |
$this->assertFalse(flexslider_optionset_exists($optionset->name), t('Optionset successfully deleted: @name', array('@name' => $optionset->name))); |
119 | 119 |
} |
120 | 120 |
|
... | ... | |
192 | 192 |
$error = array(); |
193 | 193 |
|
194 | 194 |
return array('valid' => $valid, 'error' => $error); |
195 |
} |
|
195 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules