Skip to content

Commit 9cb6e2e

Browse files
committed
Rename supplier, product, and receipt validation error tests
1 parent a31b822 commit 9cb6e2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/Feature/ProductEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function test_create_product()
244244
$this->assertInstanceOf(ProductEntity::class, $response);
245245
}
246246

247-
public function test_validation_error_on_create_issued_document()
247+
public function test_validation_error_on_create_product()
248248
{
249249
$product = new Product();
250250
$response = $product->create([]);

tests/Feature/ReceiptEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ public function test_monthly_totals_receipt()
362362
$this->assertInstanceOf(ReceiptMonthlyTotals::class, $response[0]);
363363
}
364364

365-
public function test_validation_error_on_create_issued_document()
365+
public function test_validation_error_on_monthly_totals()
366366
{
367367
$receipt = new Receipt();
368368
$response = $receipt->monthlyTotals('fake_type', 2022);

tests/Feature/SupplierEntityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public function test_create_supplier()
212212
$this->assertInstanceOf(SupplierEntity::class, $response);
213213
}
214214

215-
public function test_validation_error_on_create_issued_document()
215+
public function test_validation_error_on_create_supplier()
216216
{
217217
$supplier = new Supplier();
218218
$response = $supplier->create([]);
@@ -259,7 +259,7 @@ public function test_edit_supplier()
259259
$this->assertInstanceOf(SupplierEntity::class, $response);
260260
}
261261

262-
public function test_validation_error_on_edit_issued_document()
262+
public function test_validation_error_on_edit_supplier()
263263
{
264264
$supplier_id = 1;
265265

0 commit comments

Comments
 (0)