/** * @test */ public function setTsConfigSetsTsConfig() { $tsConfig = 'foo bar'; $this->subject->setTsConfig($tsConfig); $this->assertSame($tsConfig, $this->subject->getTsConfig()); }
/** * Currently, "file_mountpoints" is not bound to the BackendUserGroup * model, so we need to bind "the old way". * * @param BackendUserGroup $backendUserGroup The backend user group. * @param FileMount $fileMount The file mount which will be bound to the given backend user group. * @return boolean|\mysqli_result|object MySQLi result object / DBAL object */ private function fixFileMountForBackendUserGroup(BackendUserGroup $backendUserGroup, FileMount $fileMount) { return $this->database->exec_UPDATEquery('be_groups', 'uid=' . $backendUserGroup->getUid(), array('file_mountpoints' => $fileMount->getUid())); }