Skip to content

Commit

Permalink
Move tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevers committed May 30, 2022
1 parent f480133 commit 39c8662
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 10 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"psr-4": { "SellingPartnerApi\\" : "lib/" }
},
"autoload-dev": {
"psr-4": { "SellingPartnerApi\\Tests\\" : "tests/" }
"psr-4": { "SellingPartnerApi\\Tests\\" : "test/" }
},
"scripts": {
"test": "vendor/bin/phpunit"
}
}
2 changes: 1 addition & 1 deletion lib/ApiException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ApiException
* PHP version 7.2
* PHP version 7.3
*
* @category Class
* @package SellingPartnerApi
Expand Down
8 changes: 4 additions & 4 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Configuration
* PHP version 7.2
* PHP version 7.3
*
* @category Class
* @package SellingPartnerApi
Expand All @@ -23,7 +23,7 @@

/**
* Configuration Class Doc Comment
* PHP version 7.2
* PHP version 7.3
*
* @category Class
* @package SellingPartnerApi
Expand Down Expand Up @@ -56,7 +56,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'jlevers/selling-partner-api/5.0.3 (Language=PHP)';
protected $userAgent = 'jlevers/selling-partner-api/5.1.0 (Language=PHP)';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -122,7 +122,7 @@ public function __construct(array $configurationOptions)
$this->endpoint = $options["endpoint"];
$this->auth = new Authentication($options);

$this->setRequestSigner($options['requestSigner'] ?? $this->auth);
$this->setRequestSigner($options["requestSigner"] ?? $this->auth);
}

public function getRequestSigner(): RequestSignerContract
Expand Down
2 changes: 1 addition & 1 deletion lib/HeaderSelector.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ApiException
* PHP version 7.2
* PHP version 7.3
*
* @category Class
* @package SellingPartnerApi
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/ModelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* ModelInterface
*
* PHP version 7.2
* PHP version 7.3
*
* @category Class
* @package SellingPartnerApi\Model
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</coverage>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">tests</directory>
<directory suffix="Test.php">test</directory>
</testsuite>
</testsuites>
</phpunit>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 39c8662

Please sign in to comment.