From 73a27ac1bf208c335a039ee093c0dd9d92d0f461 Mon Sep 17 00:00:00 2001 From: Jasper Tey Date: Fri, 29 Mar 2024 23:59:51 -0400 Subject: [PATCH] Update expectations. --- tests/Command/CacheTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Command/CacheTest.php b/tests/Command/CacheTest.php index 6522d64..029e4c2 100644 --- a/tests/Command/CacheTest.php +++ b/tests/Command/CacheTest.php @@ -15,8 +15,8 @@ $this ->artisan('ddd:cache') - ->expectsOutput('Cached domain providers.') - ->expectsOutput('Cached domain commands.') + ->expectsOutputToContain('Domain providers cached successfully.') + ->expectsOutputToContain('Domain commands cached successfully.') ->execute(); expect(DomainCache::get('domain-providers')) @@ -34,7 +34,7 @@ $this ->artisan('ddd:clear') - ->expectsOutput('Domain cache cleared.') + ->expectsOutputToContain('Domain cache cleared successfully.') ->execute(); expect(DomainCache::get('domain-providers'))->toBeNull();