Initial commit

This commit is contained in:
Oliver Davies 2020-03-13 11:17:16 +00:00
commit e1517ecd9d
36 changed files with 2093 additions and 0 deletions
step4-adding-the-blog-repository/tests/src/Functional

View file

@ -0,0 +1,19 @@
<?php
namespace Drupal\Tests\my_module\Functional;
use Drupal\Tests\BrowserTestBase;
use Symfony\Component\HttpFoundation\Response;
class MyModuleTest extends BrowserTestBase {
protected $defaultTheme = 'stark';
/** @test */
public function the_front_page_loads_for_anonymous_users() {
$this->drupalGet('<front>');
$this->assertResponse(Response::HTTP_OK);
}
}