Skip to content

Commit 11c813e

Browse files
committed
Applied code suggestions
1 parent f3562cb commit 11c813e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/system/Models/WhenWhenNotModelTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
final class WhenWhenNotModelTest extends LiveModelTestCase
2222
{
23-
public function testWhenWithSingleCallback(): void
23+
public function testWhenWithTrueCondition(): void
2424
{
2525
$secondaryData = [
2626
[
@@ -49,7 +49,7 @@ public function testWhenWithSingleCallback(): void
4949
$this->assertSame('bar', $result[1]->key);
5050
}
5151

52-
public function testWhenWithBothCallbacks(): void
52+
public function testWhenWithFalseConditionAndDefaultCallback(): void
5353
{
5454
$secondaryData = [
5555
[
@@ -80,7 +80,7 @@ public function testWhenWithBothCallbacks(): void
8080
$this->assertSame('bar', $result[1]->key);
8181
}
8282

83-
public function testWhenNotWithSingleCallback(): void
83+
public function testWhenNotWithFalseCondition(): void
8484
{
8585
$secondaryData = [
8686
[
@@ -109,7 +109,7 @@ public function testWhenNotWithSingleCallback(): void
109109
$this->assertSame('foobaz', $result[0]->value);
110110
}
111111

112-
public function testWhenNotWithBothCallbacks(): void
112+
public function testWhenNotWithTrueConditionAndDefaultCallback(): void
113113
{
114114
$secondaryData = [
115115
[

0 commit comments

Comments
 (0)