mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Play nicer with tests
This commit is contained in:
parent
f54b167f00
commit
04de6ef0e2
@ -13,4 +13,4 @@ App::before(function ($request) {
|
||||
* Resize image assets
|
||||
*/
|
||||
Route::get('resizer/{identifier}/{encodedUrl}', 'System\Classes\SystemController@resizer');
|
||||
});
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Url;
|
||||
use URL;
|
||||
use Backend;
|
||||
use System\Classes\ImageResizer;
|
||||
use System\Classes\MediaLibrary;
|
||||
@ -40,7 +40,7 @@ class ImageResizerTest extends TestCase
|
||||
'target' => '',
|
||||
],
|
||||
'pluginUrl' => [
|
||||
'source' => Url::to('plugins/october/demo/assets/logo.png'),
|
||||
'source' => URL::to('plugins/october/demo/assets/logo.png'),
|
||||
'target' => '',
|
||||
],
|
||||
'absoluteUrl' => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user