You are here

protected function ServicesClientBaseWebTestCase::clearQueue in Services Client 7.2

Clears whole queue.

Parameters

string $name: Optional name of the queue. If non provided, default services client queue will be queued.

1 call to ServicesClientBaseWebTestCase::clearQueue()
ServicesClientWebTestCase::testServicesClientProcessing in tests/services_client.test

File

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

Class

ServicesClientBaseWebTestCase
@file Tests for the Administration menu module.

Code

protected function clearQueue($name = 'services_client_sync') {
  $queue = DrupalQueue::get($name, TRUE);
  $queue
    ->deleteQueue();
}