1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

Merge pull request #6267 from rubencm/ticket/16836

[ticket/16836] Use absolute paths in local adapter
This commit is contained in:
Marc Alexander
2021-08-19 22:20:25 +02:00
committed by GitHub
3 changed files with 60 additions and 18 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
/**
* @group functional
*/
class phpbb_functional_acp_storage_test extends phpbb_functional_test_case
{
public function test_acp_storage_free_space()
{
$this->add_lang(['acp/common', 'acp/storage']);
$this->login();
$this->admin_login();
$crawler = self::request('GET', 'adm/index.php?i=acp_storage&mode=settings&sid=' . $this->sid);
$this->assertContainsLang('STORAGE_TITLE', $this->get_content());
$this->assertNotContainsLang('STORAGE_UNKNOWN', $crawler->filter('div#main div.main table.table1')->text());
}
}