You are here

public function DataLayerUnitTests::setupMockUser in dataLayer 7

Setup user.

File

tests/datalayer.unit.test, line 170
Tests the functionality of the DataLayer module.

Class

DataLayerUnitTests
@file Tests the functionality of the DataLayer module.

Code

public function setupMockUser() {
  global $user;
  $user->uid = 1;
}