From b515f18b73e552b565b8e4261d3e279bfe0966a4 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sat, 5 Mar 2022 22:38:54 +0100 Subject: [PATCH] Fixed FakeBackend --- src/Backend/FakeBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backend/FakeBackend.php b/src/Backend/FakeBackend.php index bf10c3b..f9ad2b8 100644 --- a/src/Backend/FakeBackend.php +++ b/src/Backend/FakeBackend.php @@ -116,7 +116,7 @@ class FakeBackend { $courseFake = app(CourseFake::class) ->fetches($member['id'], collect(data_get($member, 'courses', []))->pluck('id')->toArray()); foreach (data_get($member, 'courses', []) as $course) { - $courseFake->fetchesSingle($member['id'], $course); + $courseFake->shows($member['id'], $course); } }