Skip to content

Commit

Permalink
Removed is_supplier field from Supplier
Browse files Browse the repository at this point in the history
  • Loading branch information
brightantwiboasiako committed Aug 6, 2020
1 parent b217889 commit 2b4db32
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<directory>tests/SchemaTest.php</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/SuppliersTest.php</directory>
<directory suffix="Test.php">./tests/PurchaseOrdersTest.php</directory>
</testsuite>
</testsuites>
</phpunit>
1 change: 0 additions & 1 deletion src/Model/Supplier.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
* @property float|null $leadtime
* @property float|null $minimum_order_quantity
* @property float|null $minimum_purchase_order
* @property bool $is_supplier
*/
class Supplier extends Model
{
Expand Down
2 changes: 0 additions & 2 deletions tests/SuppliersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
use Skuio\Sdk\Model\Supplier;
use Skuio\Sdk\Resource\Suppliers;
use Skuio\Sdk\Sdk;
use Skuio\Sdk\Model\Warehouse;

class SuppliersTest extends TestCase
{
Expand Down Expand Up @@ -33,7 +32,6 @@ public function testCreateSupplier(){

$supplier = new Supplier();
$supplier->name = 'Default Supplier API';
$supplier->is_supplier = false;

$suppliers = new Suppliers();
$response = $suppliers->store($supplier);
Expand Down

0 comments on commit 2b4db32

Please sign in to comment.