You are here

public function ServicesEntityTestHelper::serviceLogout in Services Entity API 7.2

Log out via services.

1 call to ServicesEntityTestHelper::serviceLogout()
ServicesEntityNodeResourceTest::testCRUD in tests/services_entity.test
Tests basic CRUD and index actions of a node via the entity_node service.

File

tests/services_entity.test, line 161
Services Entity Tests

Class

ServicesEntityTestHelper
Services Entity Test Helper class.

Code

public function serviceLogout() {
  $response = $this
    ->servicesPost($this->endpoint->path . '/user/logout');
  $this
    ->assertEqual($response['code'], 200, 'Received 200 response code from LOGOUT');
}