From 2600639d3892b28e719dd1f97c55583b6a47fc2d Mon Sep 17 00:00:00 2001 From: Mohammad Mortazavi Date: Sun, 17 Sep 2023 17:50:21 +0330 Subject: [PATCH 1/3] setting images and videos optimization to false by default; --- config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.php b/config/config.php index 243c26b..8f46c7a 100644 --- a/config/config.php +++ b/config/config.php @@ -49,8 +49,8 @@ | */ 'optimization' => [ - 'images' => true, - 'videos' => true, + 'images' => false, + 'videos' => false, ], /* From 7cb411b45c69dd5e8ea32f6748181beb6428d871 Mon Sep 17 00:00:00 2001 From: Mohammad Mortazavi Date: Sun, 17 Sep 2023 17:56:16 +0330 Subject: [PATCH 2/3] fixing get started route; --- docs/layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layouts/index.html b/docs/layouts/index.html index ef9a701..c69e843 100644 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -7,7 +7,7 @@

{{ .Title }}

{{ .Params.lead | safeHTML }}

{{ i18n "get-started" }}

Open-source MIT Licensed.

From 2cce53ad09d7a5a696cd91865178723bada717b7 Mon Sep 17 00:00:00 2001 From: Mohammad Mortazavi Date: Sun, 17 Sep 2023 18:07:58 +0330 Subject: [PATCH 3/3] fixing tests; --- tests/Feature/JobsTest.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/Feature/JobsTest.php b/tests/Feature/JobsTest.php index 6193f48..982ed91 100644 --- a/tests/Feature/JobsTest.php +++ b/tests/Feature/JobsTest.php @@ -12,6 +12,18 @@ class JobsTest extends TestCase { + /** + * Setup the test environment. + * + * @return void + */ + protected function setUp(): void + { + parent::setUp(); + $this->app['config']->set('alicia.optimization.images', true); + $this->app['config']->set('alicia.optimization.videos', true); + } + /** * @test *