protected function ServicesClientBaseWebTestCase::removeEventCondition in Services Client 7.2
Remove existing event condition.
Parameters
ServicesClientEvent $event: Event from which should be condition removed.
string $uuid: Condition UUID.
1 call to ServicesClientBaseWebTestCase::removeEventCondition()
- ServicesClientWebTestCase::testAddingEvent in tests/
services_client.test - Test basic event configuration actions.
File
- tests/
services_client.test, line 202 - Tests for the Administration menu module.
Class
- ServicesClientBaseWebTestCase
- @file Tests for the Administration menu module.
Code
protected function removeEventCondition($event, $uuid) {
$result = $this
->removeEventPlugin($event, 'condition', $uuid);
if ($result) {
$this
->pass("Condition {$uuid} was removed from event {$event->name}.");
}
else {
$this
->fail("Error when removing condition {$uuid} from event {$event->name}.");
}
}