3 namespace Drupal\path\Tests;
5 use Drupal\simpletest\WebTestBase;
8 * Provides a base class for testing the Path module.
10 * @deprecated Scheduled for removal in Drupal 9.0.0.
11 * Use \Drupal\Tests\path\Functional\PathTestBase instead.
13 abstract class PathTestBase extends WebTestBase {
20 public static $modules = ['node', 'path'];
22 protected function setUp() {
25 // Create Basic page and Article node types.
26 if ($this->profile != 'standard') {
27 $this->drupalCreateContentType(['type' => 'page', 'name' => 'Basic page']);
28 $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']);