
| Current Path : /var/www/html_old/12park.008/web/core/tests/Drupal/FunctionalTests/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html_old/12park.008/web/core/tests/Drupal/FunctionalTests/FolderTest.php |
<?php
namespace Drupal\FunctionalTests;
use Drupal\Tests\BrowserTestBase;
/**
* This test will check BrowserTestBase's treatment of hook_install during
* setUp.
* Image module is used for test.
*
* @group browsertestbase
*/
class FolderTest extends BrowserTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = ['image'];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
public function testFolderSetup() {
$directory = 'public://styles';
$this->assertTrue(\Drupal::service('file_system')->prepareDirectory($directory, FALSE), 'Directory created.');
}
}