summaryrefslogtreecommitdiffstats
path: root/core/modules/shortcut/src/Tests/ShortcutTestBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/shortcut/src/Tests/ShortcutTestBase.php')
-rw-r--r--core/modules/shortcut/src/Tests/ShortcutTestBase.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/shortcut/src/Tests/ShortcutTestBase.php b/core/modules/shortcut/src/Tests/ShortcutTestBase.php
index de9e110..461a40c 100644
--- a/core/modules/shortcut/src/Tests/ShortcutTestBase.php
+++ b/core/modules/shortcut/src/Tests/ShortcutTestBase.php
@@ -7,6 +7,7 @@
namespace Drupal\shortcut\Tests;
+use Drupal\shortcut\Entity\ShortcutSet;
use Drupal\shortcut\ShortcutSetInterface;
use Drupal\simpletest\WebTestBase;
@@ -79,7 +80,7 @@ abstract class ShortcutTestBase extends WebTestBase {
// Log in as admin and grab the default shortcut set.
$this->drupalLogin($this->admin_user);
- $this->set = shortcut_set_load('default');
+ $this->set = ShortcutSet::load('default');
shortcut_set_assign_user($this->set, $this->admin_user);
}