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:
parent
a71d6d7845
commit
c96ba5e82a
6 changed files with 8 additions and 7 deletions
|
@ -15,7 +15,7 @@ class ContactsTest extends TestCase
|
|||
{
|
||||
use DatabaseTransactions;
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
if (file_exists(public_path() . '/assets/profile-images/tantek.com/image')) {
|
||||
unlink(public_path() . '/assets/profile-images/tantek.com/image');
|
||||
|
|
|
@ -12,7 +12,7 @@ class ParseCachedWebMentionsTest extends TestCase
|
|||
{
|
||||
use DatabaseTransactions;
|
||||
|
||||
public function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -43,7 +43,7 @@ class ParseCachedWebMentionsTest extends TestCase
|
|||
$this->assertTrue($webmentionTantek->updated_at->gt($webmentionTantek->created_at));
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$fs = new FileSystem();
|
||||
if ($fs->exists(storage_path() . '/HTML/https')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue