Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / admin_toolbar / tests / src / Functional / AdminToolbarAlterTest.php
similarity index 78%
rename from web/modules/contrib/admin_toolbar/src/Tests/AdminToolbarAlterTest.php
rename to web/modules/contrib/admin_toolbar/tests/src/Functional/AdminToolbarAlterTest.php
index d4f41ace38ada7b859f8295c48add7754a735f75..1403688d3e620f3ed37792a1a2094d6e35b27ff0 100644 (file)
@@ -1,22 +1,26 @@
 <?php
 
-namespace Drupal\admin_toolbar\Tests;
+namespace Drupal\Tests\admin_toolbar\Functional;
 
-use Drupal\simpletest\WebTestBase;
+use Drupal\Tests\BrowserTestBase;
 
 /**
  * Test the existence of Admin Toolbar module.
  *
  * @group admin_toolbar
  */
-class AdminToolbarAlterTest extends WebTestBase {
+class AdminToolbarAlterTest extends BrowserTestBase {
 
   /**
    * Modules to enable.
    *
    * @var array
    */
-  public static $modules = ['toolbar', 'breakpoint', 'admin_toolbar'];
+  protected static $modules = [
+    'toolbar',
+    'breakpoint',
+    'admin_toolbar',
+  ];
 
   /**
    * A test user with permission to access the administrative toolbar.