Skip to content

Commit

Permalink
Merge pull request #287 from TomA-R/cci_config
Browse files Browse the repository at this point in the history
Add CircleCI config
  • Loading branch information
TomA-R authored Apr 25, 2023
2 parents e9866a0 + ec407e8 commit ba1185b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2.1

orbs:
ci: bigcommerce/internal@volatile
php: bigcommerce/internal-php@volatile

workflows:
version: 2
full:
jobs:
- php/phpunit-tests:
configuration: "phpunit.xml.dist"
matrix:
parameters:
php-version: [ "8.0", "8.1", "8.2" ]
2 changes: 1 addition & 1 deletion test/Unit/Api/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public function testGettingProductImagesReturnsCollectionOfProductImages()
{
$this->connection->expects($this->once())
->method('get')
->with($this->basePath . '/products/1/images/', false)
->with($this->basePath . '/products/1/images', false)
->will($this->returnValue(array(array(), array())));

$collection = Client::getProductImages(1);
Expand Down

0 comments on commit ba1185b

Please sign in to comment.