Move all files to test-driven-drupal/demo/drupal-london/
This commit is contained in:
parent
0db961b741
commit
695d8b0299
44 changed files with 0 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\Tests\example\Functional;
|
||||
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
final class ExamplePageTest extends BrowserTestBase {
|
||||
|
||||
public $defaultTheme = 'stark';
|
||||
|
||||
protected static $modules = [
|
||||
// Core.
|
||||
'node',
|
||||
|
||||
// Custom.
|
||||
"example"
|
||||
];
|
||||
|
||||
/** @test */
|
||||
public function should_load_the_example_page_for_anonymous_users(): void {
|
||||
// Arrange.
|
||||
|
||||
// Act.
|
||||
$this->drupalGet('/@opdavies/drupal-module-template');
|
||||
|
||||
// Assert.
|
||||
$this->assertSession()->statusCodeEquals(Response::HTTP_OK);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue