config = include('files_external/tests/config.swift.php'); if (!is_array($this->config) or !$this->config['run']) { $this->markTestSkipped('OpenStack Object Storage backend not configured'); } $this->instance = new Swift($this->config); } protected function tearDown(): void { if ($this->instance) { try { $container = $this->instance->getContainer(); $objects = $container->listObjects(); foreach ($objects as $object) { $object->delete(); } $container->delete(); } catch (ClientException $e) { // container didn't exist, so we don't need to delete it } } parent::tearDown(); } public function testStat(): void { $this->markTestSkipped('Swift doesn\'t update the parents folder mtime'); } }