From c8144cc4d7c3e7613a91b68236e9918e34b83219 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 19 Sep 2021 00:38:16 +0200 Subject: [PATCH] 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 --- tests/HiddenFilesTest.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/HiddenFilesTest.php b/tests/HiddenFilesTest.php index fc2bdd5..2e687dc 100644 --- a/tests/HiddenFilesTest.php +++ b/tests/HiddenFilesTest.php @@ -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', ], ], ];