Fixing tests

Most were a case of adding void return statement to setUp and tearDown,
also needed to add 6th `null` param to indieauth method. Its for
code_verifier, issue created to work out what I should actually be doing
with that.
This commit is contained in:
Jonny Barnes 2019-03-17 14:06:18 +00:00
parent a71d6d7845
commit c96ba5e82a
6 changed files with 8 additions and 7 deletions

View file

@ -13,7 +13,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase;
class DownloadWebMentionJobTest extends TestCase
{
public function tearDown()
protected function tearDown(): void
{
$fs = new FileSystem();
if ($fs->exists(storage_path() . '/HTML/https')) {

View file

@ -20,7 +20,7 @@ class ProcessWebMentionJobTest extends TestCase
{
use DatabaseTransactions;
public function tearDown()
protected function tearDown(): void
{
$fs = new FileSystem();
if ($fs->exists(storage_path() . '/HTML/https')) {

View file

@ -14,7 +14,7 @@ use Jonnybarnes\WebmentionsParser\Exceptions\AuthorshipParserException;
class SaveProfileImageJobTest extends TestCase
{
public function tearDown()
protected function tearDown(): void
{
if (file_exists(public_path() . '/assets/profile-images/example.org/image')) {
unlink(public_path() . '/assets/profile-images/example.org/image');