From 2218a0c1377bd04eee4c55a88973cb2347885782 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Fri, 21 Jan 2022 16:39:10 +0000 Subject: [PATCH] Tweaks --- tests/Features/Expect/HigherOrder/methods.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Features/Expect/HigherOrder/methods.php b/tests/Features/Expect/HigherOrder/methods.php index a1b729a9..c85917b5 100644 --- a/tests/Features/Expect/HigherOrder/methods.php +++ b/tests/Features/Expect/HigherOrder/methods.php @@ -77,14 +77,14 @@ it('works with higher order tests') it('can call the json method in higher order expectations', function () { expect(new HasMethods()) ->getJsonContent()->json()->id->toBe(1)->toBeGreaterThan(0) - ->getJsonContent()->json()->email->toBe('amenophis@leherpeur.net'); + ->getJsonContent()->json()->email->toBe('foo@bar.com'); }); class HasMethods { public function getJsonContent(): string { - return '{"id":1,"username":"amenophis","email":"amenophis@leherpeur.net"}'; + return '{"id":1,"username":"dan","email":"foo@bar.com"}'; } public function name()