Updating tests with phpunit 6 namespace

parent 41e93b13
...@@ -40,7 +40,7 @@ class ImagyTest extends MediaTestCase ...@@ -40,7 +40,7 @@ class ImagyTest extends MediaTestCase
$this->finder = App::make(Filesystem::class); $this->finder = App::make(Filesystem::class);
$this->imagy = new Imagy(new InterventionFactory(), app(ThumbnailManager::class), $this->config); $this->imagy = new Imagy(new InterventionFactory(), app(ThumbnailManager::class), $this->config);
$this->testbenchPublicPath = __DIR__ . '/../../../vendor/orchestra/testbench-core/fixture/public/'; $this->testbenchPublicPath = __DIR__ . '/../../../vendor/orchestra/testbench-core/laravel/public/';
$this->mediaPath = __DIR__ . '/Fixtures/'; $this->mediaPath = __DIR__ . '/Fixtures/';
$this->finder->copy("{$this->mediaPath}google-map.png", "{$this->testbenchPublicPath}google-map.png"); $this->finder->copy("{$this->mediaPath}google-map.png", "{$this->testbenchPublicPath}google-map.png");
} }
......
...@@ -4,7 +4,7 @@ namespace Modules\Media\Tests; ...@@ -4,7 +4,7 @@ namespace Modules\Media\Tests;
use Modules\Media\ValueObjects\MediaPath; use Modules\Media\ValueObjects\MediaPath;
class MediaPathTest extends \PHPUnit_Framework_TestCase class MediaPathTest extends \PHPUnit\Framework\TestCase
{ {
/** @test */ /** @test */
public function it_can_instantiate_value_object() public function it_can_instantiate_value_object()
......
...@@ -4,7 +4,7 @@ namespace Modules\Tests; ...@@ -4,7 +4,7 @@ namespace Modules\Tests;
use Modules\Media\Image\Thumbnail; use Modules\Media\Image\Thumbnail;
class ThumbnailTest extends \PHPUnit_Framework_TestCase class ThumbnailTest extends \PHPUnit\Framework\TestCase
{ {
/** @test */ /** @test */
public function it_creates_thumbnail_class() public function it_creates_thumbnail_class()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment