From e80ad2d87bdc630c8b8d2c9dbee563d501bd7a9b Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Wed, 18 Aug 2021 23:37:57 +0100 Subject: [PATCH] [TESTS][Controller][AdminTest] Update int tests to use attachment file_quota instead, as we deleted attachment max width --- tests/Controller/AdminTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Controller/AdminTest.php b/tests/Controller/AdminTest.php index 1f171bbfa9..b3bd811818 100644 --- a/tests/Controller/AdminTest.php +++ b/tests/Controller/AdminTest.php @@ -59,7 +59,7 @@ class AdminTest extends GNUsocialTestCase public function testSiteInt() { - $this->test(['attachments', 'max_width'], fn () => 1024); + $this->test(['attachments', 'file_quota'], fn () => 8388608); // 1MB in bits } public function testSiteArray()