From 04de6ef0e211053f707ca0a0496967d58b927b6f Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Thu, 13 Aug 2020 03:15:53 -0600 Subject: [PATCH] Play nicer with tests --- modules/system/routes.php | 2 +- tests/unit/system/classes/ImageResizerTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system/routes.php b/modules/system/routes.php index 2dbb5f6fc..eef89355d 100644 --- a/modules/system/routes.php +++ b/modules/system/routes.php @@ -13,4 +13,4 @@ App::before(function ($request) { * Resize image assets */ Route::get('resizer/{identifier}/{encodedUrl}', 'System\Classes\SystemController@resizer'); -}); \ No newline at end of file +}); diff --git a/tests/unit/system/classes/ImageResizerTest.php b/tests/unit/system/classes/ImageResizerTest.php index ff47a0c10..4590ee153 100644 --- a/tests/unit/system/classes/ImageResizerTest.php +++ b/tests/unit/system/classes/ImageResizerTest.php @@ -1,6 +1,6 @@ '', ], 'pluginUrl' => [ - 'source' => Url::to('plugins/october/demo/assets/logo.png'), + 'source' => URL::to('plugins/october/demo/assets/logo.png'), 'target' => '', ], 'absoluteUrl' => [