From 9936bb4a3ec9e94ba3a4509d13a603895b7f1a62 Mon Sep 17 00:00:00 2001 From: MGatner Date: Thu, 24 Jun 2021 07:59:38 -0400 Subject: [PATCH] Update tests/system/Files/FileCollectionTest.php --- tests/system/Files/FileCollectionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/Files/FileCollectionTest.php b/tests/system/Files/FileCollectionTest.php index a650bc464b01..ae2df9178f5f 100644 --- a/tests/system/Files/FileCollectionTest.php +++ b/tests/system/Files/FileCollectionTest.php @@ -118,7 +118,7 @@ public function testConstructorAddsFiles() public function testConstructorCallsDefine() { - $collection = new class([$this->file]) extends FileCollection { + $collection = new class() extends FileCollection { protected function define(): void {