diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..d4a3aa5 --- /dev/null +++ b/.circleci/config.yml @@ -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" ] diff --git a/test/Unit/Api/ClientTest.php b/test/Unit/Api/ClientTest.php index e3c8aa5..c84c14e 100644 --- a/test/Unit/Api/ClientTest.php +++ b/test/Unit/Api/ClientTest.php @@ -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);