You are here

protected function ServicesClientBaseWebTestCase::enabledEvent in Services Client 7.2

Enables event in ctools export api.

Parameters

ServicesClientEvent $event: Event that should be enabled.

3 calls to ServicesClientBaseWebTestCase::enabledEvent()
ServicesClientErrorWebTestCase::testServicesClientErrors in services_client_error/tests/services_client_error.test
ServicesClientHooksWebTestCase::testServicesClientHooks in tests/services_client.test
ServicesClientWebTestCase::testServicesClientProcessing in tests/services_client.test

File

tests/services_client.test, line 307
Tests for the Administration menu module.

Class

ServicesClientBaseWebTestCase
@file Tests for the Administration menu module.

Code

protected function enabledEvent($event) {
  ctools_export_crud_set_status($event->table, $event, FALSE);
  $this
    ->resetEventCache();
}