Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 9, 2024
1 parent 41a78ca commit 16d0472
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mutation-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ it('list todos', function () {

// this fails because the mutation changed the return value, proving that the test is working and testing the return value...
$this->getJson('/todos')->assertStatus(200)->assertJsonContains([
['name' => 'Buy milk'],
['name' => 'Buy milk'],
]);
});
```
Expand All @@ -130,7 +130,7 @@ class TodoController
it('list todos', function () {
Todo::factory()->create(['name' => 'Buy milk']);

// this test still passes even though the return value was changed by the mutation...
// this test still passes even though the return value was changed by the mutation...
$this->getJson('/todos')->assertStatus(200);
});
```
Expand Down
2 changes: 1 addition & 1 deletion upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The `toHaveMethod` and `toHaveMethods` expectations were replaced by the `toHave

### Pest 2 Deprecations

During Pest 2 release, some features were deprecated and will be removed in Pest 3. Here are the changes you should be aware of:
During Pest 2 release, some features were deprecated and are now removed in Pest 3. Here are the changes you should be aware of:

#### `tap()` Method

Expand Down

0 comments on commit 16d0472

Please sign in to comment.