From 310925909a2c9e7390c8f246ac75861d15884e43 Mon Sep 17 00:00:00 2001 From: Naxvog Date: Wed, 6 Mar 2024 02:12:38 +0100 Subject: [PATCH] Improved naming --- tests/Layer.php | 6 +++--- tests/Pest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Layer.php b/tests/Layer.php index a7f17fc..d319c86 100644 --- a/tests/Layer.php +++ b/tests/Layer.php @@ -29,19 +29,19 @@ it('loads namespaces', function () { expect('Tests\Fixtures\Domains\A\Models') - ->getObjects() + ->getTargets() ->toBe([ArticleDomainA::class]); }); it('loads namespaces using wildcards', function () { expect('Tests\Fixtures\Domains\*\Models') - ->getObjects() + ->getTargets() ->toBe([ArticleDomainA::class, ArticleDomainB::class]); }); it('loads namespaces using multiple wildcards', function () { expect('Tests\Fixtures\Domains\*\*\Models') - ->getObjects() + ->getTargets() ->toBe([BazableDomainA::class, BazableDomainB::class]); }); diff --git a/tests/Pest.php b/tests/Pest.php index 655339f..821b304 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -26,7 +26,7 @@ }); }); -expect()->extend('getObjects', function () { +expect()->extend('getTargets', function () { $classes = []; Targeted::make( $this,