/** * @return array */ protected function getConfigCredentials() { return ['userId' => $this->config->getUserId(), 'licenseKey' => $this->config->getLicenseKey()]; }
public function testGetUserId() { $userId = 'some-user-id'; $this->configureGetValueMethod('tobai_geoip2/web_service/user_id', $userId); $this->assertEquals($userId, $this->config->getUserId()); }