Skip to content

Commit

Permalink
fix tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed May 21, 2024
1 parent f6943ec commit 82f2ebb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/Feature/InboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@

uses(RefreshDatabase::class);

it('returns a successful response', function () {
$response = $this->get(route('inbox'));
$response->assertStatus(200);
});
it('returns a successful response')
->livewire(Inbox::class)
->assertOk();

it('listens to server restart event')
->livewire(Inbox::class)
Expand Down Expand Up @@ -99,8 +98,6 @@
$messageOne = Message::factory()->create();
$messageTwo = Message::factory()->create();

dump($messageOne->id, $messageTwo->id);

$this->livewire(Inbox::class, [$messageOne->id])
->assertSet('selectedMessageId', $messageOne->id)
->call('selectNext')
Expand Down

0 comments on commit 82f2ebb

Please sign in to comment.