Skip to content

Commit

Permalink
Imaginary path update
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanwestdorp authored May 11, 2017
1 parent b4dcd02 commit 5138650
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": ">=5.6.0",
"illuminate/support": "~5.3.0",
"arjanwestdorp/imaginary-client": "^1.0.1"
"arjanwestdorp/imaginary-client": "^1.0.2"
},
"require-dev": {
"phpunit/phpunit": "5.7.1",
Expand All @@ -27,4 +27,4 @@
"ArjanWestdorp\\Imaginary\\Laravel\\Test\\": "tests"
}
}
}
}
4 changes: 2 additions & 2 deletions src/ImaginaryServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public function register()
$this->mergeConfigFrom(
__DIR__ . '/../config/imaginary.php', 'imaginary'
);

$this->app->bind('imaginary.client', function () {
return new Client(config('imaginary'));
});
}
}
}
2 changes: 1 addition & 1 deletion tests/ImaginaryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ function it_can_define_manipulation_sets()
*/
protected function getAssertedUrl($manipulations)
{
return config('imaginary.url') . '/' . config('imaginary.client') . '/image/fetch/' . $manipulations . '/' . $this->image;
return config('imaginary.url') . '/' . config('imaginary.client') . '/images/fetch/' . $manipulations . '/' . $this->image;
}
}

0 comments on commit 5138650

Please sign in to comment.