Skip to content

Commit

Permalink
test: tests should perform at least one assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 committed Mar 26, 2024
1 parent 9f715a9 commit 0aa9174
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Unit/Channels/DiskChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@ public function testSignal()
$this->filesystem->shouldReceive('disk->put')->with('foo.txt', '2019-10-23 09:25:23');

$this->channel->signal('foo.txt');

$this->assertTrue(true);
}
}
2 changes: 2 additions & 0 deletions tests/Unit/Channels/FileChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@ public function testSignal()
$this->filesystem->shouldReceive('put')->with('foo.txt', '2019-10-23 09:25:23');

$this->channel->signal('foo.txt');

$this->assertTrue(true);
}
}
2 changes: 2 additions & 0 deletions tests/Unit/Channels/HttpChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ public function testSignal()
$this->httpClient->shouldReceive('request')->with('get', 'https://foo.bar', []);

$this->channel->signal('https://foo.bar');

$this->assertTrue(true);
}
}

0 comments on commit 0aa9174

Please sign in to comment.