1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Applied latest styleci changes

This commit is contained in:
Dan Brown
2021-11-01 13:26:02 +00:00
parent ce3f489188
commit a17be959d8
10 changed files with 15 additions and 14 deletions

View File

@@ -242,7 +242,7 @@ class MfaVerificationTest extends TestCase
}
/**
* @return Array<User, string, TestResponse>
* @return array<User, string, TestResponse>
*/
protected function startTotpLogin(): array
{
@@ -260,7 +260,7 @@ class MfaVerificationTest extends TestCase
}
/**
* @return Array<User, string, TestResponse>
* @return array<User, string, TestResponse>
*/
protected function startBackupCodeLogin($codes = ['kzzu6-1pgll', 'bzxnf-plygd', 'bwdsp-ysl51', '1vo93-ioy7n', 'lf7nw-wdyka', 'xmtrd-oplac']): array
{

View File

@@ -614,7 +614,6 @@ class PageContentTest extends TestCase
$page->refresh();
$this->assertStringContainsString('<img src=""', $page->html);
}
}
public function test_base64_images_get_extracted_from_markdown_page_content()

View File

@@ -9,7 +9,6 @@ use BookStack\Uploads\Attachment;
use BookStack\Uploads\AttachmentService;
use Illuminate\Http\UploadedFile;
use Tests\TestCase;
use Tests\TestResponse;
class AttachmentTest extends TestCase
{
@@ -56,6 +55,7 @@ class AttachmentTest extends TestCase
$upload = new UploadedFile($filePath, $filename, $mimeType, null, true);
$this->call('POST', '/attachments/upload', ['uploaded_to' => $page->id], [], ['file' => $upload], []);
return $page->attachments()->latest()->firstOrFail();
}
@@ -340,5 +340,4 @@ class AttachmentTest extends TestCase
$this->deleteUploads();
}
}