$applicableUsers,
$applicableGroups,
$priority,
- $testOnly = null
+ $testOnly = true
) {
$storage = $this->createStorage(
$mountPoint,
*
* @param StorageConfig $storage storage configuration
*/
- protected function updateStorageStatus(StorageConfig &$storage, $testOnly = null) {
+ protected function updateStorageStatus(StorageConfig &$storage, $testOnly = true) {
try {
$this->manipulateStorageConfig($storage);
*
* @return DataResponse
*/
- public function show($id, $testOnly = null) {
+ public function show($id, $testOnly = true) {
try {
$storage = $this->service->getStorage($id);
*
* @NoAdminRequired
*/
- public function show($id, $testOnly = null) {
+ public function show($id, $testOnly = true) {
try {
$storage = $this->service->getStorage($id);
public function update(
$id,
$backendOptions,
- $testOnly = null
+ $testOnly = true
) {
try {
$storage = $this->service->getStorage($id);
*
* {@inheritdoc}
*/
- public function show($id, $testOnly = null) {
+ public function show($id, $testOnly = true) {
return parent::show($id, $testOnly);
}
$authMechanism,
$backendOptions,
$mountOptions,
- $testOnly = null
+ $testOnly = true
) {
$storage = $this->createStorage(
$mountPoint,
* @return int see self::STATUS_*
* @throws Exception
*/
- public static function getBackendStatus($class, $options, $isPersonal, $testOnly = null) {
+ public static function getBackendStatus($class, $options, $isPersonal, $testOnly = true) {
if (self::$skipTest) {
return StorageNotAvailableException::STATUS_SUCCESS;
}