Skip to content

Commit

Permalink
fix travis mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaOnLine committed Aug 7, 2017
1 parent 4dabd00 commit 949a4fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,13 @@ protected function setCustomDocsFileName($fileName)
protected function copyAssets()
{
$src = __DIR__.'/../vendor/swagger-api/swagger-ui/dist/';
$destination = __DIR__.'/../vendor/orchestra/testbench/fixture/vendor/swagger-api/swagger-ui/dist/';
$destination = __DIR__.'/../vendor/orchestra/testbench-core/fixture/vendor/swagger-api/swagger-ui/dist/';

if (! is_dir($destination)) {
$base = realpath(
__DIR__.'/../vendor/orchestra/testbench/fixture/'
__DIR__.'/../vendor/orchestra/testbench-core/fixture/vendor'
);

mkdir($base = $base.'/vendor');
mkdir($base = $base.'/swagger-api');
mkdir($base = $base.'/swagger-ui');
mkdir($base = $base.'/dist');
Expand Down

0 comments on commit 949a4fc

Please sign in to comment.