diff --git a/tests/ArchivableTest.php b/tests/ArchivableTest.php index 7e9341b..2561768 100644 --- a/tests/ArchivableTest.php +++ b/tests/ArchivableTest.php @@ -9,7 +9,7 @@ class ArchivableTest extends TestCase { /** @test */ - function a_model_can_be_archived() + public function a_model_can_be_archived() { $model = ArchivableModel::factory()->create(); @@ -21,7 +21,7 @@ function a_model_can_be_archived() } /** @test */ - function a_model_can_be_unarchived() + public function a_model_can_be_unarchived() { $model = ArchivableModel::factory()->archived()->create(); @@ -33,7 +33,7 @@ function a_model_can_be_unarchived() } /** @test */ - function a_model_cannot_be_queried_normally_when_archived() + public function a_model_cannot_be_queried_normally_when_archived() { ArchivableModel::factory()->archived()->create(); @@ -45,7 +45,7 @@ function a_model_cannot_be_queried_normally_when_archived() } /** @test */ - function all_models_can_be_found_with_the_withArchived_scope() + public function all_models_can_be_found_with_the_withArchived_scope() { ArchivableModel::factory()->archived()->create(); ArchivableModel::factory()->create(); @@ -54,7 +54,7 @@ function all_models_can_be_found_with_the_withArchived_scope() } /** @test */ - function only_archived_models_can_be_found_with_the_onlyArchived_scope() + public function only_archived_models_can_be_found_with_the_onlyArchived_scope() { ArchivableModel::factory()->archived()->create(); ArchivableModel::factory()->create(); @@ -63,7 +63,7 @@ function only_archived_models_can_be_found_with_the_onlyArchived_scope() } /** @test */ - function models_without_the_archivable_trait_are_not_scoped() + public function models_without_the_archivable_trait_are_not_scoped() { RegularModel::factory()->create(); diff --git a/tests/TestCase.php b/tests/TestCase.php index 1cffd6b..98d13d5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,6 +1,5 @@