Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
b659b702
Unverified
Commit
b659b702
authored
Sep 02, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating tests with phpunit 6 namespace
parent
41e93b13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ImagyTest.php
Modules/Media/Tests/ImagyTest.php
+1
-1
MediaPathTest.php
Modules/Media/Tests/MediaPathTest.php
+1
-1
ThumbnailTest.php
Modules/Media/Tests/ThumbnailTest.php
+1
-1
No files found.
Modules/Media/Tests/ImagyTest.php
View file @
b659b702
...
...
@@ -40,7 +40,7 @@ class ImagyTest extends MediaTestCase
$this
->
finder
=
App
::
make
(
Filesystem
::
class
);
$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
->
finder
->
copy
(
"
{
$this
->
mediaPath
}
google-map.png"
,
"
{
$this
->
testbenchPublicPath
}
google-map.png"
);
}
...
...
Modules/Media/Tests/MediaPathTest.php
View file @
b659b702
...
...
@@ -4,7 +4,7 @@ namespace Modules\Media\Tests;
use
Modules\Media\ValueObjects\MediaPath
;
class
MediaPathTest
extends
\PHPUnit
_Framework_
TestCase
class
MediaPathTest
extends
\PHPUnit
\Framework\
TestCase
{
/** @test */
public
function
it_can_instantiate_value_object
()
...
...
Modules/Media/Tests/ThumbnailTest.php
View file @
b659b702
...
...
@@ -4,7 +4,7 @@ namespace Modules\Tests;
use
Modules\Media\Image\Thumbnail
;
class
ThumbnailTest
extends
\PHPUnit
_Framework_
TestCase
class
ThumbnailTest
extends
\PHPUnit
\Framework\
TestCase
{
/** @test */
public
function
it_creates_thumbnail_class
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment