Skip to content
Snippets Groups Projects
Commit 0f79fc33 authored by Alexander Hass's avatar Alexander Hass
Browse files

Issue #3060084: Call to undefined function filter_format_load

parent 59de84cd
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,9 @@
namespace Drupal\linkchecker\Tests;
use Drupal\simpletest\WebTestBase;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\filter\Entity\FilterFormat;
use Drupal\simpletest\WebTestBase;
/**
* Test case for interface tests.
......@@ -31,7 +32,7 @@ class LinkCheckerInterfaceTest extends WebTestBase {
protected function setUp() {
parent::setUp();
$full_html_format = filter_format_load('full_html');
$full_html_format = FilterFormat::load('full_html');
$permissions = [
// Block permissions.
'administer blocks',
......
......@@ -2,8 +2,9 @@
namespace Drupal\linkchecker\Tests;
use Drupal\simpletest\WebTestBase;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\filter\Entity\FilterFormat;
use Drupal\simpletest\WebTestBase;
/**
* Test Link checker module link extraction functionality.
......@@ -32,7 +33,7 @@ class LinkCheckerLinkExtractionTest extends WebTestBase {
protected function setUp() {
parent::setUp();
$full_html_format = filter_format_load('full_html');
$full_html_format = FilterFormat::load('full_html');
$permissions = [
'create page content',
'edit own page content',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment