Skip to content

Commit 44eab97

Browse files
authored
docs: Update testing.md (#291)
Properties are now protected and need to be accessed through the public method.
1 parent bb662ec commit 44eab97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/core-concepts/testing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ $fake->assertCallCount(2);
325325

326326
// Assert detailed request properties
327327
$fake->assertRequest(function ($requests) {
328-
expect($requests[0]->provider)->toBe('anthropic');
329-
expect($requests[0]->model)->toBe('claude-3-sonnet');
328+
expect($requests[0]->provider())->toBe('anthropic');
329+
expect($requests[0]->model())->toBe('claude-3-sonnet');
330330
});
331331

332332
// Assert provider configuration

0 commit comments

Comments
 (0)