mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-23 14:13:01 +02:00
update HiddenFilesTest.php with new app files
'.env' and '.env.example' need to be included in app files, as dot files are now displayable. The tests did not expect that. I guess they were built with 'hidden files are hidden anyways' in mind. max line length is 88 (80 + 10% tolerance) chars I assume
This commit is contained in:
committed by
GitHub
parent
224fbf0f72
commit
c8144cc4d7
@@ -50,11 +50,14 @@ class HiddenFilesTest extends TestCase
|
||||
[], $this->filePath('.hidden'), false, ['alpha', 'bravo'],
|
||||
],
|
||||
'App files' => [
|
||||
[], 'NOT_A_REAL_FILE', true, ['app', 'index.php', '.hidden'],
|
||||
[], 'NOT_A_REAL_FILE', true, [
|
||||
'app', 'index.php', '.hidden', '.env', '.env.example',
|
||||
],
|
||||
],
|
||||
'All' => [
|
||||
['foo', 'alpha'], $this->filePath('.hidden'), true, [
|
||||
'foo', 'alpha', 'bravo', 'app', 'index.php', '.hidden',
|
||||
'foo', 'alpha', 'bravo', 'app', 'index.php', '.hidden', '.env',
|
||||
'.env.example',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user