Skip to content

Commit 125bec0

Browse files
feat(laravel): php-cs-fixer changes
1 parent 1244d2a commit 125bec0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Laravel/Tests/GraphQlTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function testGetBooksWithPaginationAndOrder(): void
6666
$this->assertCount(3, $data['data']['books']['edges']);
6767
$this->assertArrayNotHasKey('errors', $data);
6868
}
69+
6970
public function testCreateBook(): void
7071
{
7172
/** @var \Workbench\App\Models\Author $author */
@@ -86,7 +87,7 @@ public function testCreateBook(): void
8687
'name' => fake()->name(),
8788
'author' => 'api/authors/'.$author->id,
8889
'isbn' => fake()->isbn13(),
89-
'isAvailable' => rand(0,1) === 1,
90+
'isAvailable' => 1 === random_int(0, 1),
9091
],
9192
],
9293
], ['accept' => ['application/json']]);

0 commit comments

Comments
 (0)