Skip to content

Commit ba1185b

Browse files
authored
Merge pull request #287 from TomA-R/cci_config
Add CircleCI config
2 parents e9866a0 + ec407e8 commit ba1185b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2.1
2+
3+
orbs:
4+
ci: bigcommerce/internal@volatile
5+
php: bigcommerce/internal-php@volatile
6+
7+
workflows:
8+
version: 2
9+
full:
10+
jobs:
11+
- php/phpunit-tests:
12+
configuration: "phpunit.xml.dist"
13+
matrix:
14+
parameters:
15+
php-version: [ "8.0", "8.1", "8.2" ]

test/Unit/Api/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function testGettingProductImagesReturnsCollectionOfProductImages()
437437
{
438438
$this->connection->expects($this->once())
439439
->method('get')
440-
->with($this->basePath . '/products/1/images/', false)
440+
->with($this->basePath . '/products/1/images', false)
441441
->will($this->returnValue(array(array(), array())));
442442

443443
$collection = Client::getProductImages(1);

0 commit comments

Comments
 (0)