Browse Source

Restructur tests/Unit directory

pull/20/head
Nafies Luthfi 7 years ago
parent
commit
03f4707096
  1. 2
      tests/Unit/Models/ProductTest.php
  2. 2
      tests/Unit/Models/TransactionTest.php
  3. 2
      tests/Unit/Models/UnitTest.php
  4. 10
      tests/Unit/TransactionDraftTest.php

2
tests/Unit/Integration/ProductTest.php → tests/Unit/Models/ProductTest.php

@ -1,6 +1,6 @@
<?php
namespace Tests\Unit\Integration;
namespace Tests\Unit\Models;
use App\Unit;
use App\Product;

2
tests/Unit/Integration/TransactionTest.php → tests/Unit/Models/TransactionTest.php

@ -1,6 +1,6 @@
<?php
namespace Tests\Unit\Integration;
namespace Tests\Unit\Models;
use Tests\TestCase;
use App\Transaction;

2
tests/Unit/Integration/UnitTest.php → tests/Unit/Models/UnitTest.php

@ -1,6 +1,6 @@
<?php
namespace Tests\Unit\Integration;
namespace Tests\Unit\Models;
use App\Unit;
use App\Product;

10
tests/Unit/Integration/TransactionDraftTest.php → tests/Unit/TransactionDraftTest.php

@ -1,6 +1,6 @@
<?php
namespace Tests\Unit\Integration;
namespace Tests\Unit;
use App\Product;
use App\Cart\Item;
@ -171,8 +171,8 @@ class TransactionDraftTest extends TestCase
'name' => 'Nafies',
'phone' => '081234567890',
],
'payment' => 10000,
'notes' => 'Catatan',
'payment' => 10000,
'notes' => 'Catatan',
];
$cart->updateDraftAttributes($draft->draftKey, $draftAttributes);
@ -206,8 +206,8 @@ class TransactionDraftTest extends TestCase
'name' => 'Nafies',
'phone' => '081234567890',
],
'payment' => 10000,
'notes' => 'Catatan',
'payment' => 10000,
'notes' => 'Catatan',
];
$cart->updateDraftAttributes($draft->draftKey, $draftAttributes);
Loading…
Cancel
Save