diff --git a/tests/Feature/Account/AccountEmailQuotaTest.php b/tests/Feature/Account/AccountEmailQuotaTest.php index 0613e10e183b..ddd4dfaa298a 100644 --- a/tests/Feature/Account/AccountEmailQuotaTest.php +++ b/tests/Feature/Account/AccountEmailQuotaTest.php @@ -35,7 +35,7 @@ class AccountEmailQuotaTest extends TestCase use AppSetup; use MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/ActivityApiTest.php b/tests/Feature/ActivityApiTest.php index b79205c7a464..c5e6c6cbaaa1 100644 --- a/tests/Feature/ActivityApiTest.php +++ b/tests/Feature/ActivityApiTest.php @@ -25,7 +25,7 @@ class ActivityApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ApplePayDomainMerchantUrlTest.php b/tests/Feature/ApplePayDomainMerchantUrlTest.php index a6274366b864..85ce096caf09 100644 --- a/tests/Feature/ApplePayDomainMerchantUrlTest.php +++ b/tests/Feature/ApplePayDomainMerchantUrlTest.php @@ -26,7 +26,7 @@ class ApplePayDomainMerchantUrlTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CancelInvoiceTest.php b/tests/Feature/CancelInvoiceTest.php index 0b517cb30fc5..d895ac3926ce 100644 --- a/tests/Feature/CancelInvoiceTest.php +++ b/tests/Feature/CancelInvoiceTest.php @@ -29,7 +29,7 @@ class CancelInvoiceTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Client/ClientMergeTest.php b/tests/Feature/Client/ClientMergeTest.php index 06f155e92129..dc6f1806c43c 100644 --- a/tests/Feature/Client/ClientMergeTest.php +++ b/tests/Feature/Client/ClientMergeTest.php @@ -42,7 +42,7 @@ class ClientMergeTest extends TestCase private $primary_contact; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/ClientApiTest.php b/tests/Feature/ClientApiTest.php index 78f35182ee7c..956d3e98dcb4 100644 --- a/tests/Feature/ClientApiTest.php +++ b/tests/Feature/ClientApiTest.php @@ -30,7 +30,7 @@ class ClientApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ClientDeletedInvoiceCreationTest.php b/tests/Feature/ClientDeletedInvoiceCreationTest.php index 7f3ddff49c53..4d8f0ef6fa45 100644 --- a/tests/Feature/ClientDeletedInvoiceCreationTest.php +++ b/tests/Feature/ClientDeletedInvoiceCreationTest.php @@ -31,7 +31,7 @@ class ClientDeletedInvoiceCreationTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ClientGatewayTokenApiTest.php b/tests/Feature/ClientGatewayTokenApiTest.php index 97b2914a5044..196424e7272b 100644 --- a/tests/Feature/ClientGatewayTokenApiTest.php +++ b/tests/Feature/ClientGatewayTokenApiTest.php @@ -30,7 +30,7 @@ class ClientGatewayTokenApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ClientModelTest.php b/tests/Feature/ClientModelTest.php index 210712f9bc6a..246e7b27f23e 100644 --- a/tests/Feature/ClientModelTest.php +++ b/tests/Feature/ClientModelTest.php @@ -26,7 +26,7 @@ class ClientModelTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ClientPortal/CreditsTest.php b/tests/Feature/ClientPortal/CreditsTest.php index 166358efd2e1..178a766b6b2e 100644 --- a/tests/Feature/ClientPortal/CreditsTest.php +++ b/tests/Feature/ClientPortal/CreditsTest.php @@ -33,7 +33,7 @@ class CreditsTest extends TestCase use DatabaseTransactions; use AppSetup; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/ClientPortal/InvoicesTest.php b/tests/Feature/ClientPortal/InvoicesTest.php index fcffd4222770..084961223df3 100644 --- a/tests/Feature/ClientPortal/InvoicesTest.php +++ b/tests/Feature/ClientPortal/InvoicesTest.php @@ -31,7 +31,7 @@ class InvoicesTest extends TestCase use DatabaseTransactions; use AppSetup; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/ClientPresenterTest.php b/tests/Feature/ClientPresenterTest.php index 28a02ab8c396..22e6d132ef68 100644 --- a/tests/Feature/ClientPresenterTest.php +++ b/tests/Feature/ClientPresenterTest.php @@ -24,7 +24,7 @@ class ClientPresenterTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ClientTest.php b/tests/Feature/ClientTest.php index 0065d5056a27..934bd32418e2 100644 --- a/tests/Feature/ClientTest.php +++ b/tests/Feature/ClientTest.php @@ -39,7 +39,7 @@ class ClientTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CompanyGatewayApiTest.php b/tests/Feature/CompanyGatewayApiTest.php index 18c7f0172a93..5b6bbf9e4b2f 100644 --- a/tests/Feature/CompanyGatewayApiTest.php +++ b/tests/Feature/CompanyGatewayApiTest.php @@ -33,7 +33,7 @@ class CompanyGatewayApiTest extends TestCase use MockAccountData; use CompanyGatewayFeesAndLimitsSaver; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CompanyGatewayResolutionTest.php b/tests/Feature/CompanyGatewayResolutionTest.php index 892138aec03f..72f34e63b79c 100644 --- a/tests/Feature/CompanyGatewayResolutionTest.php +++ b/tests/Feature/CompanyGatewayResolutionTest.php @@ -34,7 +34,7 @@ class CompanyGatewayResolutionTest extends TestCase public $cg1; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CompanyGatewayTest.php b/tests/Feature/CompanyGatewayTest.php index a44730f0682d..eb1d2648a656 100644 --- a/tests/Feature/CompanyGatewayTest.php +++ b/tests/Feature/CompanyGatewayTest.php @@ -26,7 +26,7 @@ class CompanyGatewayTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CompanySettingsTest.php b/tests/Feature/CompanySettingsTest.php index fd59ec68b978..b60a7195fbd3 100644 --- a/tests/Feature/CompanySettingsTest.php +++ b/tests/Feature/CompanySettingsTest.php @@ -30,7 +30,7 @@ class CompanySettingsTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CompanyTest.php b/tests/Feature/CompanyTest.php index 4fdc8a834abe..68bde286ddf3 100644 --- a/tests/Feature/CompanyTest.php +++ b/tests/Feature/CompanyTest.php @@ -34,7 +34,7 @@ class CompanyTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CompanyTokenApiTest.php b/tests/Feature/CompanyTokenApiTest.php index fba2bfb57071..4e5c6717665a 100644 --- a/tests/Feature/CompanyTokenApiTest.php +++ b/tests/Feature/CompanyTokenApiTest.php @@ -31,7 +31,7 @@ class CompanyTokenApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/CreditTest.php b/tests/Feature/CreditTest.php index 8a41d9db187e..7fd47b8e5f7f 100644 --- a/tests/Feature/CreditTest.php +++ b/tests/Feature/CreditTest.php @@ -27,7 +27,7 @@ class CreditTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/DeleteInvoiceTest.php b/tests/Feature/DeleteInvoiceTest.php index 4c92398d95ed..4ee19d377858 100644 --- a/tests/Feature/DeleteInvoiceTest.php +++ b/tests/Feature/DeleteInvoiceTest.php @@ -30,7 +30,7 @@ class DeleteInvoiceTest extends TestCase use MockAccountData; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/DesignApiTest.php b/tests/Feature/DesignApiTest.php index 8679d6a121e1..dec0cc00bed7 100644 --- a/tests/Feature/DesignApiTest.php +++ b/tests/Feature/DesignApiTest.php @@ -31,7 +31,7 @@ class DesignApiTest extends TestCase public $id; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/DocumentsApiTest.php b/tests/Feature/DocumentsApiTest.php index 5de893d377ba..a7ad93e5a67b 100644 --- a/tests/Feature/DocumentsApiTest.php +++ b/tests/Feature/DocumentsApiTest.php @@ -28,7 +28,7 @@ class DocumentsApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/EntityPaidToDateTest.php b/tests/Feature/EntityPaidToDateTest.php index 6c81d47c621a..842806131c36 100644 --- a/tests/Feature/EntityPaidToDateTest.php +++ b/tests/Feature/EntityPaidToDateTest.php @@ -43,7 +43,7 @@ class EntityPaidToDateTest extends TestCase use MockAccountData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ExpenseApiTest.php b/tests/Feature/ExpenseApiTest.php index a0c3403edebb..d0a4dc80f802 100644 --- a/tests/Feature/ExpenseApiTest.php +++ b/tests/Feature/ExpenseApiTest.php @@ -28,7 +28,7 @@ class ExpenseApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ExpenseCategoryApiTest.php b/tests/Feature/ExpenseCategoryApiTest.php index f34190182480..4a8d4f63ece2 100644 --- a/tests/Feature/ExpenseCategoryApiTest.php +++ b/tests/Feature/ExpenseCategoryApiTest.php @@ -28,7 +28,7 @@ class ExpenseCategoryApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Export/ClientCsvTest.php b/tests/Feature/Export/ClientCsvTest.php index 0c506c8aa76f..bc59900ae5ff 100644 --- a/tests/Feature/Export/ClientCsvTest.php +++ b/tests/Feature/Export/ClientCsvTest.php @@ -27,7 +27,7 @@ class ClientCsvTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Export/ExportCompanyTest.php b/tests/Feature/Export/ExportCompanyTest.php index 95bb5b4e232d..6aff3a58b906 100644 --- a/tests/Feature/Export/ExportCompanyTest.php +++ b/tests/Feature/Export/ExportCompanyTest.php @@ -28,7 +28,7 @@ class ExportCompanyTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Export/ExportCsvTest.php b/tests/Feature/Export/ExportCsvTest.php index 31cb8dcc0896..ef2c268fd7d6 100644 --- a/tests/Feature/Export/ExportCsvTest.php +++ b/tests/Feature/Export/ExportCsvTest.php @@ -27,7 +27,7 @@ class ExportCsvTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Export/ProfitAndLossReportTest.php b/tests/Feature/Export/ProfitAndLossReportTest.php index f48c854f76fd..2c81becab4b0 100644 --- a/tests/Feature/Export/ProfitAndLossReportTest.php +++ b/tests/Feature/Export/ProfitAndLossReportTest.php @@ -43,7 +43,7 @@ class ProfitAndLossReportTest extends TestCase public $faker; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/FilterApiTest.php b/tests/Feature/FilterApiTest.php index 62cb776c3310..ee350234d84e 100644 --- a/tests/Feature/FilterApiTest.php +++ b/tests/Feature/FilterApiTest.php @@ -25,7 +25,7 @@ class FilterApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/GroupSettingTest.php b/tests/Feature/GroupSettingTest.php index 685a60bdbc98..a82b54df0f0f 100644 --- a/tests/Feature/GroupSettingTest.php +++ b/tests/Feature/GroupSettingTest.php @@ -25,7 +25,7 @@ class GroupSettingTest extends TestCase //use DatabaseTransactions; use MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Import/CSV/BaseTransformerTest.php b/tests/Feature/Import/CSV/BaseTransformerTest.php index c0fdd2e273ac..39bf1effad6d 100644 --- a/tests/Feature/Import/CSV/BaseTransformerTest.php +++ b/tests/Feature/Import/CSV/BaseTransformerTest.php @@ -39,7 +39,7 @@ class BaseTransformerTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Import/CSV/CsvImportTest.php b/tests/Feature/Import/CSV/CsvImportTest.php index addfe734f5bd..c68cfd1c85e8 100644 --- a/tests/Feature/Import/CSV/CsvImportTest.php +++ b/tests/Feature/Import/CSV/CsvImportTest.php @@ -40,7 +40,7 @@ class CsvImportTest extends TestCase use MakesHash; use MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Import/Freshbooks/FreshbooksTest.php b/tests/Feature/Import/Freshbooks/FreshbooksTest.php index abeed9509770..a6062b1b3454 100644 --- a/tests/Feature/Import/Freshbooks/FreshbooksTest.php +++ b/tests/Feature/Import/Freshbooks/FreshbooksTest.php @@ -37,7 +37,7 @@ class FreshbooksTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Import/ImportCompanyTest.php b/tests/Feature/Import/ImportCompanyTest.php index 8a5f7870c338..9d5d7f30df51 100644 --- a/tests/Feature/Import/ImportCompanyTest.php +++ b/tests/Feature/Import/ImportCompanyTest.php @@ -74,7 +74,7 @@ class ImportCompanyTest extends TestCase public $ids; - public function setUp() :void + protected function setUp() :void { parent::setUp(); @@ -1113,7 +1113,7 @@ class ImportCompanyTest extends TestCase return $this->ids[$resource]["{$old}"]; } - public function tearDown() :void + protected function tearDown() :void { $backup_json_file = sys_get_temp_dir().'/backup/backup.json'; diff --git a/tests/Feature/Import/ImportCsvTest.php b/tests/Feature/Import/ImportCsvTest.php index b0828b927232..026e645d7e3c 100644 --- a/tests/Feature/Import/ImportCsvTest.php +++ b/tests/Feature/Import/ImportCsvTest.php @@ -36,7 +36,7 @@ class ImportCsvTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Import/Invoice2Go/Invoice2GoTest.php b/tests/Feature/Import/Invoice2Go/Invoice2GoTest.php index 1b13c135c193..9cf62be12b67 100644 --- a/tests/Feature/Import/Invoice2Go/Invoice2GoTest.php +++ b/tests/Feature/Import/Invoice2Go/Invoice2GoTest.php @@ -38,7 +38,7 @@ class Invoice2GoTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Import/Invoicely/InvoicelyTest.php b/tests/Feature/Import/Invoicely/InvoicelyTest.php index 6be1ea4b5f0f..8d4896516817 100644 --- a/tests/Feature/Import/Invoicely/InvoicelyTest.php +++ b/tests/Feature/Import/Invoicely/InvoicelyTest.php @@ -37,7 +37,7 @@ class InvoicelyTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Import/Wave/WaveTest.php b/tests/Feature/Import/Wave/WaveTest.php index f56fe33028f0..de984b5b9558 100644 --- a/tests/Feature/Import/Wave/WaveTest.php +++ b/tests/Feature/Import/Wave/WaveTest.php @@ -36,7 +36,7 @@ class WaveTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Import/Zoho/ZohoTest.php b/tests/Feature/Import/Zoho/ZohoTest.php index 46e0b32b6110..550abde66002 100644 --- a/tests/Feature/Import/Zoho/ZohoTest.php +++ b/tests/Feature/Import/Zoho/ZohoTest.php @@ -37,7 +37,7 @@ class ZohoTest extends TestCase use MockAccountData; // use DatabaseTransactions; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Inventory/InventoryManagementTest.php b/tests/Feature/Inventory/InventoryManagementTest.php index 244034cb19c1..a97ae0e6e025 100644 --- a/tests/Feature/Inventory/InventoryManagementTest.php +++ b/tests/Feature/Inventory/InventoryManagementTest.php @@ -28,7 +28,7 @@ class InventoryManagementTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/InvitationTest.php b/tests/Feature/InvitationTest.php index a50999835cfd..193baae2c05e 100644 --- a/tests/Feature/InvitationTest.php +++ b/tests/Feature/InvitationTest.php @@ -37,7 +37,7 @@ class InvitationTest extends TestCase use DatabaseTransactions; // use RefreshDatabase; - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Feature/InvoiceAmountPaymentTest.php b/tests/Feature/InvoiceAmountPaymentTest.php index d2a07a1cc87f..c9d7b1e1b599 100644 --- a/tests/Feature/InvoiceAmountPaymentTest.php +++ b/tests/Feature/InvoiceAmountPaymentTest.php @@ -27,7 +27,7 @@ class InvoiceAmountPaymentTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/InvoiceEmailTest.php b/tests/Feature/InvoiceEmailTest.php index 25b9c52c2210..b7b9bc25abed 100644 --- a/tests/Feature/InvoiceEmailTest.php +++ b/tests/Feature/InvoiceEmailTest.php @@ -29,7 +29,7 @@ class InvoiceEmailTest extends TestCase use DatabaseTransactions; use GeneratesCounter; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/InvoiceLinkTasksTest.php b/tests/Feature/InvoiceLinkTasksTest.php index 464f4cac43f3..72a084fe93b3 100644 --- a/tests/Feature/InvoiceLinkTasksTest.php +++ b/tests/Feature/InvoiceLinkTasksTest.php @@ -27,7 +27,7 @@ class InvoiceLinkTasksTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/InvoiceTest.php b/tests/Feature/InvoiceTest.php index d5489ea0e7eb..5e582bf5ce1e 100644 --- a/tests/Feature/InvoiceTest.php +++ b/tests/Feature/InvoiceTest.php @@ -33,7 +33,7 @@ class InvoiceTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/LoadTest.php b/tests/Feature/LoadTest.php index 2c00c0088939..38b5c15fa6f2 100644 --- a/tests/Feature/LoadTest.php +++ b/tests/Feature/LoadTest.php @@ -50,7 +50,7 @@ class LoadTest extends TestCase public int $count = 1; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/LoginTest.php b/tests/Feature/LoginTest.php index 9b438e545085..54ae95593cef 100644 --- a/tests/Feature/LoginTest.php +++ b/tests/Feature/LoginTest.php @@ -29,7 +29,7 @@ class LoginTest extends TestCase { use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); Session::start(); diff --git a/tests/Feature/MigrationTest.php b/tests/Feature/MigrationTest.php index c24fd1f15e59..e6efa9082c87 100644 --- a/tests/Feature/MigrationTest.php +++ b/tests/Feature/MigrationTest.php @@ -29,7 +29,7 @@ class MigrationTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/MultiPaymentDeleteTest.php b/tests/Feature/MultiPaymentDeleteTest.php index 1a2ba5ea6dd3..ee42d5fb4bcb 100644 --- a/tests/Feature/MultiPaymentDeleteTest.php +++ b/tests/Feature/MultiPaymentDeleteTest.php @@ -37,7 +37,7 @@ class MultiPaymentDeleteTest extends TestCase private $faker; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Ninja/PlanTest.php b/tests/Feature/Ninja/PlanTest.php index 613cc15b829a..1253166cc250 100644 --- a/tests/Feature/Ninja/PlanTest.php +++ b/tests/Feature/Ninja/PlanTest.php @@ -31,7 +31,7 @@ class PlanTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/PaymentTermsApiTest.php b/tests/Feature/PaymentTermsApiTest.php index 06063d56acf7..358d9cbd9274 100644 --- a/tests/Feature/PaymentTermsApiTest.php +++ b/tests/Feature/PaymentTermsApiTest.php @@ -31,7 +31,7 @@ class PaymentTermsApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/PaymentTest.php b/tests/Feature/PaymentTest.php index 5e848f062b29..a2a9a4d5c49c 100644 --- a/tests/Feature/PaymentTest.php +++ b/tests/Feature/PaymentTest.php @@ -44,7 +44,7 @@ class PaymentTest extends TestCase use MockAccountData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Payments/CreditPaymentTest.php b/tests/Feature/Payments/CreditPaymentTest.php index 3fb97d78dfe4..bc031be4a235 100644 --- a/tests/Feature/Payments/CreditPaymentTest.php +++ b/tests/Feature/Payments/CreditPaymentTest.php @@ -44,7 +44,7 @@ class CreditPaymentTest extends TestCase use MockUnitData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Payments/StorePaymentValidationTest.php b/tests/Feature/Payments/StorePaymentValidationTest.php index bb210d081ea7..8b72e985ac1e 100644 --- a/tests/Feature/Payments/StorePaymentValidationTest.php +++ b/tests/Feature/Payments/StorePaymentValidationTest.php @@ -44,7 +44,7 @@ class StorePaymentValidationTest extends TestCase use MockAccountData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Payments/UnappliedPaymentDeleteTest.php b/tests/Feature/Payments/UnappliedPaymentDeleteTest.php index 22c1f47d8fed..c79591a163c2 100644 --- a/tests/Feature/Payments/UnappliedPaymentDeleteTest.php +++ b/tests/Feature/Payments/UnappliedPaymentDeleteTest.php @@ -34,7 +34,7 @@ class UnappliedPaymentDeleteTest extends TestCase use MockUnitData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Payments/UnappliedPaymentRefundTest.php b/tests/Feature/Payments/UnappliedPaymentRefundTest.php index 93f0f671e974..f2b16336bdef 100644 --- a/tests/Feature/Payments/UnappliedPaymentRefundTest.php +++ b/tests/Feature/Payments/UnappliedPaymentRefundTest.php @@ -31,7 +31,7 @@ class UnappliedPaymentRefundTest extends TestCase use MockUnitData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/PdfCreatorTest.php b/tests/Feature/PdfCreatorTest.php index 74e3ef9369bf..01b85d62dbc7 100644 --- a/tests/Feature/PdfCreatorTest.php +++ b/tests/Feature/PdfCreatorTest.php @@ -26,7 +26,7 @@ class PdfCreatorTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/PdfMaker/ExampleIntegrationTest.php b/tests/Feature/PdfMaker/ExampleIntegrationTest.php index e385142036fc..2c6f2061d5c2 100644 --- a/tests/Feature/PdfMaker/ExampleIntegrationTest.php +++ b/tests/Feature/PdfMaker/ExampleIntegrationTest.php @@ -22,7 +22,7 @@ class ExampleIntegrationTest extends TestCase { use MakesInvoiceValues, MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/PingTest.php b/tests/Feature/PingTest.php index 8b339dcc4049..8c6df4cf9f2c 100644 --- a/tests/Feature/PingTest.php +++ b/tests/Feature/PingTest.php @@ -25,7 +25,7 @@ class PingTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); $this->makeTestData(); diff --git a/tests/Feature/PreviewTest.php b/tests/Feature/PreviewTest.php index 27da1bb5535e..688137a825cf 100644 --- a/tests/Feature/PreviewTest.php +++ b/tests/Feature/PreviewTest.php @@ -25,7 +25,7 @@ class PreviewTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ProductTest.php b/tests/Feature/ProductTest.php index 2f6cccbbac36..cf49f64b4d4a 100644 --- a/tests/Feature/ProductTest.php +++ b/tests/Feature/ProductTest.php @@ -30,7 +30,7 @@ class ProductTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ProjectApiTest.php b/tests/Feature/ProjectApiTest.php index b0673481a7c4..b4d1b237e7f8 100644 --- a/tests/Feature/ProjectApiTest.php +++ b/tests/Feature/ProjectApiTest.php @@ -29,7 +29,7 @@ class ProjectApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/PurchaseOrderTest.php b/tests/Feature/PurchaseOrderTest.php index 5d2358e340f3..c5428a317053 100644 --- a/tests/Feature/PurchaseOrderTest.php +++ b/tests/Feature/PurchaseOrderTest.php @@ -25,7 +25,7 @@ class PurchaseOrderTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/QuoteTest.php b/tests/Feature/QuoteTest.php index 7624c7e7c5e9..81bbe46e196e 100644 --- a/tests/Feature/QuoteTest.php +++ b/tests/Feature/QuoteTest.php @@ -32,7 +32,7 @@ class QuoteTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/RecurringExpenseApiTest.php b/tests/Feature/RecurringExpenseApiTest.php index 291b9bcdd4c1..77ff2cc38ff9 100644 --- a/tests/Feature/RecurringExpenseApiTest.php +++ b/tests/Feature/RecurringExpenseApiTest.php @@ -30,7 +30,7 @@ class RecurringExpenseApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/RecurringInvoiceTest.php b/tests/Feature/RecurringInvoiceTest.php index 0120fadb4822..9170de330c2c 100644 --- a/tests/Feature/RecurringInvoiceTest.php +++ b/tests/Feature/RecurringInvoiceTest.php @@ -34,7 +34,7 @@ class RecurringInvoiceTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/RecurringInvoicesCronTest.php b/tests/Feature/RecurringInvoicesCronTest.php index e3664c17e3fb..fe3c45ad0d0f 100644 --- a/tests/Feature/RecurringInvoicesCronTest.php +++ b/tests/Feature/RecurringInvoicesCronTest.php @@ -26,7 +26,7 @@ class RecurringInvoicesCronTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/RecurringQuoteTest.php b/tests/Feature/RecurringQuoteTest.php index 9d8646292b0e..ecde6a5bc0fd 100644 --- a/tests/Feature/RecurringQuoteTest.php +++ b/tests/Feature/RecurringQuoteTest.php @@ -30,7 +30,7 @@ class RecurringQuoteTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/RecurringQuotesTest.php b/tests/Feature/RecurringQuotesTest.php index d46d449438b4..93fdbe9f738a 100644 --- a/tests/Feature/RecurringQuotesTest.php +++ b/tests/Feature/RecurringQuotesTest.php @@ -34,7 +34,7 @@ class RecurringQuotesTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/RefundTest.php b/tests/Feature/RefundTest.php index 2f3cbda80b25..f697b2a540b3 100644 --- a/tests/Feature/RefundTest.php +++ b/tests/Feature/RefundTest.php @@ -37,7 +37,7 @@ class RefundTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ReminderTest.php b/tests/Feature/ReminderTest.php index 7cfc8d34e20f..5ea9884239c6 100644 --- a/tests/Feature/ReminderTest.php +++ b/tests/Feature/ReminderTest.php @@ -31,7 +31,7 @@ class ReminderTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/ReverseInvoiceTest.php b/tests/Feature/ReverseInvoiceTest.php index 677e4b6d7b5b..491610676536 100644 --- a/tests/Feature/ReverseInvoiceTest.php +++ b/tests/Feature/ReverseInvoiceTest.php @@ -36,7 +36,7 @@ class ReverseInvoiceTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/Scheduler/SchedulerTest.php b/tests/Feature/Scheduler/SchedulerTest.php index 4ca2f0cc36fb..11561e0f5a49 100644 --- a/tests/Feature/Scheduler/SchedulerTest.php +++ b/tests/Feature/Scheduler/SchedulerTest.php @@ -22,7 +22,7 @@ class SchedulerTest extends TestCase use WithoutEvents; // use RefreshDatabase; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/Shop/ShopInvoiceTest.php b/tests/Feature/Shop/ShopInvoiceTest.php index 8c2b3cece762..09b250731d75 100644 --- a/tests/Feature/Shop/ShopInvoiceTest.php +++ b/tests/Feature/Shop/ShopInvoiceTest.php @@ -28,7 +28,7 @@ class ShopInvoiceTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/SubscriptionApiTest.php b/tests/Feature/SubscriptionApiTest.php index 738855d2e38b..8cf835f9767f 100644 --- a/tests/Feature/SubscriptionApiTest.php +++ b/tests/Feature/SubscriptionApiTest.php @@ -35,7 +35,7 @@ class SubscriptionApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Feature/SystemLogApiTest.php b/tests/Feature/SystemLogApiTest.php index 974ae74b8228..e91970af014f 100644 --- a/tests/Feature/SystemLogApiTest.php +++ b/tests/Feature/SystemLogApiTest.php @@ -27,7 +27,7 @@ class SystemLogApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/TaskApiTest.php b/tests/Feature/TaskApiTest.php index 87d459be4b12..2343a5d562de 100644 --- a/tests/Feature/TaskApiTest.php +++ b/tests/Feature/TaskApiTest.php @@ -29,7 +29,7 @@ class TaskApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/TaskStatusApiTest.php b/tests/Feature/TaskStatusApiTest.php index b70f3c7f6a92..2d0e4c83c2bd 100644 --- a/tests/Feature/TaskStatusApiTest.php +++ b/tests/Feature/TaskStatusApiTest.php @@ -28,7 +28,7 @@ class TaskStatusApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/TaskStatusSortOnUpdateTest.php b/tests/Feature/TaskStatusSortOnUpdateTest.php index afb6068abd01..3b1f57e5ad3a 100644 --- a/tests/Feature/TaskStatusSortOnUpdateTest.php +++ b/tests/Feature/TaskStatusSortOnUpdateTest.php @@ -29,7 +29,7 @@ class TaskStatusSortOnUpdateTest extends TestCase use MockAccountData; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/TaxRateApiTest.php b/tests/Feature/TaxRateApiTest.php index e98728a5c100..cac0c642b1ac 100644 --- a/tests/Feature/TaxRateApiTest.php +++ b/tests/Feature/TaxRateApiTest.php @@ -29,7 +29,7 @@ class TaxRateApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/UpdateExchangeRatesTest.php b/tests/Feature/UpdateExchangeRatesTest.php index 8d48fe2164aa..82b219dd7d94 100644 --- a/tests/Feature/UpdateExchangeRatesTest.php +++ b/tests/Feature/UpdateExchangeRatesTest.php @@ -32,7 +32,7 @@ class UpdateExchangeRatesTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/UpdatePaymentTest.php b/tests/Feature/UpdatePaymentTest.php index 8dacc21120e1..cc53702ed6fa 100644 --- a/tests/Feature/UpdatePaymentTest.php +++ b/tests/Feature/UpdatePaymentTest.php @@ -44,7 +44,7 @@ class UpdatePaymentTest extends TestCase use MockAccountData; use WithoutEvents; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/UserTest.php b/tests/Feature/UserTest.php index 952b7f433d8c..1766d693c324 100644 --- a/tests/Feature/UserTest.php +++ b/tests/Feature/UserTest.php @@ -37,7 +37,7 @@ class UserTest extends TestCase private $default_email = 'attach@gmail.com'; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/VendorApiTest.php b/tests/Feature/VendorApiTest.php index b792c1e239c5..38f8b1ccf700 100644 --- a/tests/Feature/VendorApiTest.php +++ b/tests/Feature/VendorApiTest.php @@ -29,7 +29,7 @@ class VendorApiTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Feature/WebhookAPITest.php b/tests/Feature/WebhookAPITest.php index f7d638546fe0..a94e194aac4d 100644 --- a/tests/Feature/WebhookAPITest.php +++ b/tests/Feature/WebhookAPITest.php @@ -28,7 +28,7 @@ class WebhookAPITest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/CheckCacheTest.php b/tests/Integration/CheckCacheTest.php index 39e19629ca75..37335c535514 100644 --- a/tests/Integration/CheckCacheTest.php +++ b/tests/Integration/CheckCacheTest.php @@ -24,7 +24,7 @@ class CheckCacheTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/CheckLockedInvoiceValidationTest.php b/tests/Integration/CheckLockedInvoiceValidationTest.php index 629a450e50e1..754904adabff 100644 --- a/tests/Integration/CheckLockedInvoiceValidationTest.php +++ b/tests/Integration/CheckLockedInvoiceValidationTest.php @@ -25,7 +25,7 @@ class CheckLockedInvoiceValidationTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/CheckRemindersTest.php b/tests/Integration/CheckRemindersTest.php index 72ab55ceaab4..ab6478a1fdc1 100644 --- a/tests/Integration/CheckRemindersTest.php +++ b/tests/Integration/CheckRemindersTest.php @@ -26,7 +26,7 @@ class CheckRemindersTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/CompanyLedgerTest.php b/tests/Integration/CompanyLedgerTest.php index e20aa4efb4da..de627c13071e 100644 --- a/tests/Integration/CompanyLedgerTest.php +++ b/tests/Integration/CompanyLedgerTest.php @@ -46,7 +46,7 @@ class CompanyLedgerTest extends TestCase public $account; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/ContainerTest.php b/tests/Integration/ContainerTest.php index da6504d9102b..c125c3f17088 100644 --- a/tests/Integration/ContainerTest.php +++ b/tests/Integration/ContainerTest.php @@ -22,7 +22,7 @@ class ContainerTest extends TestCase { use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/DownloadHistoricalInvoiceTest.php b/tests/Integration/DownloadHistoricalInvoiceTest.php index 1ed306817bdc..d72c8f84d2c0 100644 --- a/tests/Integration/DownloadHistoricalInvoiceTest.php +++ b/tests/Integration/DownloadHistoricalInvoiceTest.php @@ -28,7 +28,7 @@ class DownloadHistoricalInvoiceTest extends TestCase use DatabaseTransactions; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/EventTest.php b/tests/Integration/EventTest.php index 6653929a41a4..51035dc2e329 100644 --- a/tests/Integration/EventTest.php +++ b/tests/Integration/EventTest.php @@ -92,7 +92,7 @@ class EventTest extends TestCase use MakesHash; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/HtmlGenerationTest.php b/tests/Integration/HtmlGenerationTest.php index 40a305271021..36f8e8495f09 100644 --- a/tests/Integration/HtmlGenerationTest.php +++ b/tests/Integration/HtmlGenerationTest.php @@ -33,7 +33,7 @@ class HtmlGenerationTest extends TestCase use MockAccountData; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/InvoiceUploadTest.php b/tests/Integration/InvoiceUploadTest.php index 29d1221d771a..8b851b795f4c 100644 --- a/tests/Integration/InvoiceUploadTest.php +++ b/tests/Integration/InvoiceUploadTest.php @@ -25,7 +25,7 @@ class InvoiceUploadTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/MarkInvoicePaidTest.php b/tests/Integration/MarkInvoicePaidTest.php index e79e1bd84459..c0921c0b2832 100644 --- a/tests/Integration/MarkInvoicePaidTest.php +++ b/tests/Integration/MarkInvoicePaidTest.php @@ -24,7 +24,7 @@ class MarkInvoicePaidTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/MultiDBUserTest.php b/tests/Integration/MultiDBUserTest.php index 852004b742b9..b61c0662e6f6 100644 --- a/tests/Integration/MultiDBUserTest.php +++ b/tests/Integration/MultiDBUserTest.php @@ -31,7 +31,7 @@ use Tests\TestCase; */ class MultiDBUserTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); @@ -244,7 +244,7 @@ class MultiDBUserTest extends TestCase // } // } - public function tearDown() :void + protected function tearDown() :void { DB::connection('db-ninja-01')->table('users')->delete(); DB::connection('db-ninja-02')->table('users')->delete(); diff --git a/tests/Integration/PaymentDrivers/AuthorizeTest.php b/tests/Integration/PaymentDrivers/AuthorizeTest.php index e02a0e1e6b79..592ef312c464 100644 --- a/tests/Integration/PaymentDrivers/AuthorizeTest.php +++ b/tests/Integration/PaymentDrivers/AuthorizeTest.php @@ -44,7 +44,7 @@ class AuthorizeTest extends TestCase public $customer_payment_profile = 1512424103; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/PostmarkWebhookTest.php b/tests/Integration/PostmarkWebhookTest.php index 9ae66f7a8c42..e43fa27920a0 100644 --- a/tests/Integration/PostmarkWebhookTest.php +++ b/tests/Integration/PostmarkWebhookTest.php @@ -25,7 +25,7 @@ class PostmarkWebhookTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/SendFailedEmailsTest.php b/tests/Integration/SendFailedEmailsTest.php index fc87ccfde5ce..0e4e706ab1d9 100644 --- a/tests/Integration/SendFailedEmailsTest.php +++ b/tests/Integration/SendFailedEmailsTest.php @@ -26,7 +26,7 @@ class SendFailedEmailsTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/SystemHealthTest.php b/tests/Integration/SystemHealthTest.php index 8ec431ce5746..0805a4240078 100644 --- a/tests/Integration/SystemHealthTest.php +++ b/tests/Integration/SystemHealthTest.php @@ -23,7 +23,7 @@ class SystemHealthTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/UniqueEmailTest.php b/tests/Integration/UniqueEmailTest.php index 68b2946f8bab..28828791579d 100644 --- a/tests/Integration/UniqueEmailTest.php +++ b/tests/Integration/UniqueEmailTest.php @@ -30,7 +30,7 @@ class UniqueEmailTest extends TestCase protected $rule; - public function setUp() :void + protected function setUp() :void { parent::setUp(); @@ -104,7 +104,7 @@ class UniqueEmailTest extends TestCase $this->assertTrue($this->rule->passes('email', 'nohit@example.com')); } - public function tearDown() :void + protected function tearDown() :void { DB::connection('db-ninja-01')->table('users')->delete(); DB::connection('db-ninja-02')->table('users')->delete(); diff --git a/tests/Integration/UpdateCompanyLedgerTest.php b/tests/Integration/UpdateCompanyLedgerTest.php index 998aa4c2482c..800dd026d6d2 100644 --- a/tests/Integration/UpdateCompanyLedgerTest.php +++ b/tests/Integration/UpdateCompanyLedgerTest.php @@ -22,7 +22,7 @@ class UpdateCompanyLedgerTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/UpdateCompanyUserTest.php b/tests/Integration/UpdateCompanyUserTest.php index 5d3acaade8ef..63c0ad09e663 100644 --- a/tests/Integration/UpdateCompanyUserTest.php +++ b/tests/Integration/UpdateCompanyUserTest.php @@ -28,7 +28,7 @@ class UpdateCompanyUserTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/UploadFileTest.php b/tests/Integration/UploadFileTest.php index 36220462c54e..6b730712d0d0 100644 --- a/tests/Integration/UploadFileTest.php +++ b/tests/Integration/UploadFileTest.php @@ -27,7 +27,7 @@ class UploadFileTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/UploadLogoTest.php b/tests/Integration/UploadLogoTest.php index a76a0c96e0a6..1f6bcda8cbd3 100644 --- a/tests/Integration/UploadLogoTest.php +++ b/tests/Integration/UploadLogoTest.php @@ -28,7 +28,7 @@ class UploadLogoTest extends TestCase use DatabaseTransactions; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Integration/Validation/AmountValidationRuleTest.php b/tests/Integration/Validation/AmountValidationRuleTest.php index 9d4f1c59d06b..5ab8fbbc5dcc 100644 --- a/tests/Integration/Validation/AmountValidationRuleTest.php +++ b/tests/Integration/Validation/AmountValidationRuleTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class AmountValidationRuleTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Pdf/PdfGenerationTest.php b/tests/Pdf/PdfGenerationTest.php index 96f41bae4c6f..66d8e77cd5c2 100644 --- a/tests/Pdf/PdfGenerationTest.php +++ b/tests/Pdf/PdfGenerationTest.php @@ -21,7 +21,7 @@ use Tests\TestCase; */ class PdfGenerationTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp(); } diff --git a/tests/Unit/AutoBillInvoiceTest.php b/tests/Unit/AutoBillInvoiceTest.php index 891e187e08b0..df73de11f07a 100644 --- a/tests/Unit/AutoBillInvoiceTest.php +++ b/tests/Unit/AutoBillInvoiceTest.php @@ -25,7 +25,7 @@ class AutoBillInvoiceTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/Base64Test.php b/tests/Unit/Base64Test.php index 3e40d4eadac7..eb8f81fd597d 100644 --- a/tests/Unit/Base64Test.php +++ b/tests/Unit/Base64Test.php @@ -25,7 +25,7 @@ class Base64Test extends TestCase * * No method can guarantee against false positives. */ - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/BaseSettingsTest.php b/tests/Unit/BaseSettingsTest.php index e90980b1284c..bd0dac3b9d61 100644 --- a/tests/Unit/BaseSettingsTest.php +++ b/tests/Unit/BaseSettingsTest.php @@ -20,7 +20,7 @@ use Tests\TestCase; */ class BaseSettingsTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CentConversionTest.php b/tests/Unit/CentConversionTest.php index 8e162ea9d76d..ec166fd680d6 100644 --- a/tests/Unit/CentConversionTest.php +++ b/tests/Unit/CentConversionTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class CentConversionTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/Chart/ChartCurrencyTest.php b/tests/Unit/Chart/ChartCurrencyTest.php index e2e0942243ce..2f30dfd57964 100644 --- a/tests/Unit/Chart/ChartCurrencyTest.php +++ b/tests/Unit/Chart/ChartCurrencyTest.php @@ -29,7 +29,7 @@ class ChartCurrencyTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/ClientSettingsTest.php b/tests/Unit/ClientSettingsTest.php index bf53503d1191..7464aae79a27 100644 --- a/tests/Unit/ClientSettingsTest.php +++ b/tests/Unit/ClientSettingsTest.php @@ -25,7 +25,7 @@ class ClientSettingsTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CloneQuoteToInvoiceFactoryTest.php b/tests/Unit/CloneQuoteToInvoiceFactoryTest.php index 891fa2abd234..a3100210f786 100644 --- a/tests/Unit/CloneQuoteToInvoiceFactoryTest.php +++ b/tests/Unit/CloneQuoteToInvoiceFactoryTest.php @@ -25,7 +25,7 @@ class CloneQuoteToInvoiceFactoryTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CollectionMergingTest.php b/tests/Unit/CollectionMergingTest.php index 71d0ef61855e..a4afd8993f8e 100644 --- a/tests/Unit/CollectionMergingTest.php +++ b/tests/Unit/CollectionMergingTest.php @@ -22,7 +22,7 @@ use Tests\TestCase; */ class CollectionMergingTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/CompanyDocumentsTest.php b/tests/Unit/CompanyDocumentsTest.php index 274e1cd576eb..1b9634a54adf 100644 --- a/tests/Unit/CompanyDocumentsTest.php +++ b/tests/Unit/CompanyDocumentsTest.php @@ -25,7 +25,7 @@ class CompanyDocumentsTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CompanySettingsSaveableTest.php b/tests/Unit/CompanySettingsSaveableTest.php index e66276dc7399..88ced5912d93 100644 --- a/tests/Unit/CompanySettingsSaveableTest.php +++ b/tests/Unit/CompanySettingsSaveableTest.php @@ -20,7 +20,7 @@ use Tests\TestCase; */ class CompanySettingsSaveableTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/CompanySettingsTest.php b/tests/Unit/CompanySettingsTest.php index ea3512adfd25..56dc48b9a30f 100644 --- a/tests/Unit/CompanySettingsTest.php +++ b/tests/Unit/CompanySettingsTest.php @@ -20,7 +20,7 @@ use Tests\TestCase; */ class CompanySettingsTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CompareCollectionTest.php b/tests/Unit/CompareCollectionTest.php index 20f568e0a549..f699b2c002fc 100644 --- a/tests/Unit/CompareCollectionTest.php +++ b/tests/Unit/CompareCollectionTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class CompareCollectionTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CompareObjectTest.php b/tests/Unit/CompareObjectTest.php index dd46fd75b7cf..04c43b35080c 100644 --- a/tests/Unit/CompareObjectTest.php +++ b/tests/Unit/CompareObjectTest.php @@ -21,7 +21,7 @@ use Tests\TestCase; */ class CompareObjectTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CreditBalanceTest.php b/tests/Unit/CreditBalanceTest.php index e0669e22dbc8..ea780f8d5fd9 100644 --- a/tests/Unit/CreditBalanceTest.php +++ b/tests/Unit/CreditBalanceTest.php @@ -29,7 +29,7 @@ class CreditBalanceTest extends TestCase use MockUnitData; use AppSetup; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/CurrencyApiTest.php b/tests/Unit/CurrencyApiTest.php index 85bb226bfd5a..153e566b25df 100644 --- a/tests/Unit/CurrencyApiTest.php +++ b/tests/Unit/CurrencyApiTest.php @@ -21,7 +21,7 @@ use Tests\TestCase; */ class CurrencyApiTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/DatesTest.php b/tests/Unit/DatesTest.php index 863cce6548f7..5aa3e2c40e06 100644 --- a/tests/Unit/DatesTest.php +++ b/tests/Unit/DatesTest.php @@ -25,7 +25,7 @@ class DatesTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/EncryptionSettingsTest.php b/tests/Unit/EncryptionSettingsTest.php index 4ae5c87755f1..478d549f5713 100644 --- a/tests/Unit/EncryptionSettingsTest.php +++ b/tests/Unit/EncryptionSettingsTest.php @@ -18,7 +18,7 @@ use Tests\TestCase; */ class EncryptionSettingsTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/EntityTest.php b/tests/Unit/EntityTest.php index 653b5e82dea1..99076e906109 100644 --- a/tests/Unit/EntityTest.php +++ b/tests/Unit/EntityTest.php @@ -30,7 +30,7 @@ class EntityTest extends TestCase public $settings; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/EntityTranslationTest.php b/tests/Unit/EntityTranslationTest.php index 3e5548bd2453..82a1cc12738a 100644 --- a/tests/Unit/EntityTranslationTest.php +++ b/tests/Unit/EntityTranslationTest.php @@ -38,7 +38,7 @@ class EntityTranslationTest extends TestCase { public $faker; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/FactoryCreationTest.php b/tests/Unit/FactoryCreationTest.php index f4fc6e1f6365..639799c9e290 100644 --- a/tests/Unit/FactoryCreationTest.php +++ b/tests/Unit/FactoryCreationTest.php @@ -33,7 +33,7 @@ class FactoryCreationTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/GeneratesConvertedQuoteCounterTest.php b/tests/Unit/GeneratesConvertedQuoteCounterTest.php index 67ab4761a0df..5c6e701b3f28 100644 --- a/tests/Unit/GeneratesConvertedQuoteCounterTest.php +++ b/tests/Unit/GeneratesConvertedQuoteCounterTest.php @@ -43,7 +43,7 @@ class GeneratesConvertedQuoteCounterTest extends TestCase use DatabaseTransactions; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/GeneratesCounterTest.php b/tests/Unit/GeneratesCounterTest.php index 8de06b4fc433..cf5de6224436 100644 --- a/tests/Unit/GeneratesCounterTest.php +++ b/tests/Unit/GeneratesCounterTest.php @@ -41,7 +41,7 @@ class GeneratesCounterTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/GoogleAnalyticsTest.php b/tests/Unit/GoogleAnalyticsTest.php index 91c5dd7edaf0..0f2991f5971b 100644 --- a/tests/Unit/GoogleAnalyticsTest.php +++ b/tests/Unit/GoogleAnalyticsTest.php @@ -25,7 +25,7 @@ class GoogleAnalyticsTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/GroupSettingsTest.php b/tests/Unit/GroupSettingsTest.php index a99aa70571c6..6dd5b662eba0 100644 --- a/tests/Unit/GroupSettingsTest.php +++ b/tests/Unit/GroupSettingsTest.php @@ -28,7 +28,7 @@ class GroupSettingsTest extends TestCase use DatabaseTransactions; use ClientGroupSettingsSaver; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/GroupTest.php b/tests/Unit/GroupTest.php index 9ee8345ae427..abeb06282620 100644 --- a/tests/Unit/GroupTest.php +++ b/tests/Unit/GroupTest.php @@ -20,7 +20,7 @@ use Tests\TestCase; */ class GroupTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvitationTest.php b/tests/Unit/InvitationTest.php index aa1cec740d46..08a84ee35ef0 100644 --- a/tests/Unit/InvitationTest.php +++ b/tests/Unit/InvitationTest.php @@ -26,7 +26,7 @@ class InvitationTest extends TestCase use DatabaseTransactions; use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceActionsTest.php b/tests/Unit/InvoiceActionsTest.php index d067926e7034..68e17ada0aa2 100644 --- a/tests/Unit/InvoiceActionsTest.php +++ b/tests/Unit/InvoiceActionsTest.php @@ -27,7 +27,7 @@ class InvoiceActionsTest extends TestCase use DatabaseTransactions; use ActionsInvoice; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceInclusiveTest.php b/tests/Unit/InvoiceInclusiveTest.php index e200eb57f1f8..e4b6b5d870d8 100644 --- a/tests/Unit/InvoiceInclusiveTest.php +++ b/tests/Unit/InvoiceInclusiveTest.php @@ -32,7 +32,7 @@ class InvoiceInclusiveTest extends TestCase public $settings; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceItemInclusiveTest.php b/tests/Unit/InvoiceItemInclusiveTest.php index 1a3f764a7966..9811bd2a9b09 100644 --- a/tests/Unit/InvoiceItemInclusiveTest.php +++ b/tests/Unit/InvoiceItemInclusiveTest.php @@ -26,7 +26,7 @@ class InvoiceItemInclusiveTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceItemTest.php b/tests/Unit/InvoiceItemTest.php index 328c72b2a551..802c825531cc 100644 --- a/tests/Unit/InvoiceItemTest.php +++ b/tests/Unit/InvoiceItemTest.php @@ -26,7 +26,7 @@ class InvoiceItemTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceItemV2Test.php b/tests/Unit/InvoiceItemV2Test.php index 0cee53446e87..d9ad75db669c 100644 --- a/tests/Unit/InvoiceItemV2Test.php +++ b/tests/Unit/InvoiceItemV2Test.php @@ -26,7 +26,7 @@ class InvoiceItemV2Test extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceStatusTest.php b/tests/Unit/InvoiceStatusTest.php index 9c37e24bd384..90d9000492fa 100644 --- a/tests/Unit/InvoiceStatusTest.php +++ b/tests/Unit/InvoiceStatusTest.php @@ -33,7 +33,7 @@ class InvoiceStatusTest extends TestCase public $settings; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/InvoiceTest.php b/tests/Unit/InvoiceTest.php index 04a38c6bca3c..aff6437a5395 100644 --- a/tests/Unit/InvoiceTest.php +++ b/tests/Unit/InvoiceTest.php @@ -33,7 +33,7 @@ class InvoiceTest extends TestCase public $settings; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/Migration/FeesAndLimitsTest.php b/tests/Unit/Migration/FeesAndLimitsTest.php index c3d5b60891b7..7201439d387d 100644 --- a/tests/Unit/Migration/FeesAndLimitsTest.php +++ b/tests/Unit/Migration/FeesAndLimitsTest.php @@ -17,7 +17,7 @@ use Tests\TestCase; class FeesAndLimitsTest extends TestCase { - public function setUp(): void + protected function setUp(): void { parent::setUp(); } diff --git a/tests/Unit/Migration/ImportTest.php b/tests/Unit/Migration/ImportTest.php index 3b3bb7e1344f..0cf8c1168565 100644 --- a/tests/Unit/Migration/ImportTest.php +++ b/tests/Unit/Migration/ImportTest.php @@ -41,7 +41,7 @@ class ImportTest extends TestCase public $migration_array; - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Unit/NestedCollectionTest.php b/tests/Unit/NestedCollectionTest.php index 109611293f01..832e6760cf24 100644 --- a/tests/Unit/NestedCollectionTest.php +++ b/tests/Unit/NestedCollectionTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class NestedCollectionTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/PdfVariablesTest.php b/tests/Unit/PdfVariablesTest.php index fc38ebd94e74..5c00d88f4a1b 100644 --- a/tests/Unit/PdfVariablesTest.php +++ b/tests/Unit/PdfVariablesTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class PdfVariablesTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/Phantom/PhantomJsTest.php b/tests/Unit/Phantom/PhantomJsTest.php index cbb5762fa6c4..2af4892c0069 100644 --- a/tests/Unit/Phantom/PhantomJsTest.php +++ b/tests/Unit/Phantom/PhantomJsTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class PhantomJsTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/PrimaryKeyTransformationTest.php b/tests/Unit/PrimaryKeyTransformationTest.php index bece35e03cf9..f29e6b622a34 100644 --- a/tests/Unit/PrimaryKeyTransformationTest.php +++ b/tests/Unit/PrimaryKeyTransformationTest.php @@ -22,7 +22,7 @@ class PrimaryKeyTransformationTest extends TestCase { use MakesHash; - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/RangeDetectionTest.php b/tests/Unit/RangeDetectionTest.php index 782e02c4ef21..afb9e9c211d9 100644 --- a/tests/Unit/RangeDetectionTest.php +++ b/tests/Unit/RangeDetectionTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class RangeDetectionTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/RecurringDateTest.php b/tests/Unit/RecurringDateTest.php index a7c95c4c665d..8276f9a17902 100644 --- a/tests/Unit/RecurringDateTest.php +++ b/tests/Unit/RecurringDateTest.php @@ -25,7 +25,7 @@ class RecurringDateTest extends TestCase use DatabaseTransactions; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/RecurringDatesTest.php b/tests/Unit/RecurringDatesTest.php index 8ebb5a386f47..c996694f58a4 100644 --- a/tests/Unit/RecurringDatesTest.php +++ b/tests/Unit/RecurringDatesTest.php @@ -27,7 +27,7 @@ class RecurringDatesTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/RecurringExpenseCloneTest.php b/tests/Unit/RecurringExpenseCloneTest.php index d2d446ca56e3..6fc877068ad5 100644 --- a/tests/Unit/RecurringExpenseCloneTest.php +++ b/tests/Unit/RecurringExpenseCloneTest.php @@ -28,7 +28,7 @@ class RecurringExpenseCloneTest extends TestCase { public $faker; - public function setUp() :void + protected function setUp() :void { parent::setUp(); $this->faker = \Faker\Factory::create(); diff --git a/tests/Unit/RedisVsDatabaseTest.php b/tests/Unit/RedisVsDatabaseTest.php index d4c4ffb53aa5..d53a479d268d 100644 --- a/tests/Unit/RedisVsDatabaseTest.php +++ b/tests/Unit/RedisVsDatabaseTest.php @@ -23,7 +23,7 @@ use Tests\TestCase; */ class RedisVsDatabaseTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/RefundUnitTest.php b/tests/Unit/RefundUnitTest.php index facaa5a9c6a5..c2a375543124 100644 --- a/tests/Unit/RefundUnitTest.php +++ b/tests/Unit/RefundUnitTest.php @@ -22,7 +22,7 @@ use Tests\TestCase; */ class RefundUnitTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/RelationExistsTest.php b/tests/Unit/RelationExistsTest.php index 78190dc96453..047dc5ec8ce0 100644 --- a/tests/Unit/RelationExistsTest.php +++ b/tests/Unit/RelationExistsTest.php @@ -49,7 +49,7 @@ class RelationExistsTest extends TestCase Vendor::class, ]; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/S3CleanupTest.php b/tests/Unit/S3CleanupTest.php index c10e25a30f9a..c49ed358a184 100644 --- a/tests/Unit/S3CleanupTest.php +++ b/tests/Unit/S3CleanupTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class S3CleanupTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/SettingsSaverTest.php b/tests/Unit/SettingsSaverTest.php index 72b7cfbb035b..051bb415ebf5 100644 --- a/tests/Unit/SettingsSaverTest.php +++ b/tests/Unit/SettingsSaverTest.php @@ -22,7 +22,7 @@ class SettingsSaverTest extends TestCase { use SettingsSaver; - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/Shop/ShopProfileTest.php b/tests/Unit/Shop/ShopProfileTest.php index cbcab958cf12..6e6e773c3103 100644 --- a/tests/Unit/Shop/ShopProfileTest.php +++ b/tests/Unit/Shop/ShopProfileTest.php @@ -24,7 +24,7 @@ class ShopProfileTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/SubscriptionsCalcTest.php b/tests/Unit/SubscriptionsCalcTest.php index 98631396ed37..8b41565e1b77 100644 --- a/tests/Unit/SubscriptionsCalcTest.php +++ b/tests/Unit/SubscriptionsCalcTest.php @@ -32,7 +32,7 @@ class SubscriptionsCalcTest extends TestCase * * No method can guarantee against false positives. */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); diff --git a/tests/Unit/SystemHealthTest.php b/tests/Unit/SystemHealthTest.php index 46a73eea1558..6628e4553f93 100644 --- a/tests/Unit/SystemHealthTest.php +++ b/tests/Unit/SystemHealthTest.php @@ -20,7 +20,7 @@ use Tests\TestCase; */ class SystemHealthTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/TaskSortingTest.php b/tests/Unit/TaskSortingTest.php index d9d94fb49286..a6f260149421 100644 --- a/tests/Unit/TaskSortingTest.php +++ b/tests/Unit/TaskSortingTest.php @@ -20,7 +20,7 @@ class TaskSortingTest extends TestCase { public $collection; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/TranslationTest.php b/tests/Unit/TranslationTest.php index c8ab5e9b4ce0..154f242e2f62 100644 --- a/tests/Unit/TranslationTest.php +++ b/tests/Unit/TranslationTest.php @@ -19,7 +19,7 @@ use Tests\TestCase; */ class TranslationTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/UBLInvoiceTest.php b/tests/Unit/UBLInvoiceTest.php index e1b8d1786513..2c50cccd6dc0 100644 --- a/tests/Unit/UBLInvoiceTest.php +++ b/tests/Unit/UBLInvoiceTest.php @@ -26,7 +26,7 @@ class UBLInvoiceTest extends TestCase use MockAccountData; use DatabaseTransactions; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/UrlTest.php b/tests/Unit/UrlTest.php index 7bd712b3926d..10efdaa82aa3 100644 --- a/tests/Unit/UrlTest.php +++ b/tests/Unit/UrlTest.php @@ -18,7 +18,7 @@ use Tests\TestCase; */ class UrlTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/ValidationRules/BlacklistValidationTest.php b/tests/Unit/ValidationRules/BlacklistValidationTest.php index 3bb368e9b3b2..68a1ba915b15 100644 --- a/tests/Unit/ValidationRules/BlacklistValidationTest.php +++ b/tests/Unit/ValidationRules/BlacklistValidationTest.php @@ -23,7 +23,7 @@ use Tests\TestCase; */ class BlacklistValidationTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/ValidationRules/EmailBlacklistValidationTest.php b/tests/Unit/ValidationRules/EmailBlacklistValidationTest.php index d4bcf8f8d0d9..57504cc7c107 100644 --- a/tests/Unit/ValidationRules/EmailBlacklistValidationTest.php +++ b/tests/Unit/ValidationRules/EmailBlacklistValidationTest.php @@ -24,7 +24,7 @@ use Tests\TestCase; */ class EmailBlacklistValidationTest extends TestCase { - public function setUp() :void + protected function setUp() :void { parent::setUp(); } diff --git a/tests/Unit/ValidationRules/UniqueInvoiceNumberValidationTest.php b/tests/Unit/ValidationRules/UniqueInvoiceNumberValidationTest.php index 144fc4358e51..79782df52c6a 100644 --- a/tests/Unit/ValidationRules/UniqueInvoiceNumberValidationTest.php +++ b/tests/Unit/ValidationRules/UniqueInvoiceNumberValidationTest.php @@ -28,7 +28,7 @@ class UniqueInvoiceNumberValidationTest extends TestCase use MakesHash; use MockAccountData; - public function setUp() :void + protected function setUp() :void { parent::setUp(); diff --git a/tests/Unit/ZeroDecimalTest.php b/tests/Unit/ZeroDecimalTest.php index 1f1f91ec42e1..4efc7864a74f 100644 --- a/tests/Unit/ZeroDecimalTest.php +++ b/tests/Unit/ZeroDecimalTest.php @@ -24,7 +24,7 @@ class ZeroDecimalTest extends TestCase { public array $currencies = ['BIF', 'CLP', 'DJF', 'GNF', 'JPY', 'KMF', 'KRW', 'MGA', 'PYG', 'RWF', 'UGX', 'VND', 'VUV', 'XAF', 'XOF', 'XPF']; - public function setUp() :void + protected function setUp() :void { }