presentations/test-driven-drupal/demo/drupalcamp-dublin-2017/tests/src/Functional/PageListTest.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
407 B
PHP
Raw Normal View History

2018-09-07 18:33:14 +01:00
<?php
namespace Drupal\Tests\tdd_blog\Functional;
use Drupal\Tests\BrowserTestBase;
2020-03-07 17:16:50 +00:00
use Symfony\Component\HttpFoundation\Response;
2018-09-07 18:33:14 +01:00
class PageListTest extends BrowserTestBase {
protected static $modules = ['tdd_blog'];
protected $defaultTheme = 'stark';
2018-09-07 18:33:14 +01:00
public function testBlogPageExists() {
$this->drupalGet('blog');
2020-03-07 17:16:50 +00:00
$this->assertSession()->statusCodeEquals(Response::HTTP_OK);
2018-09-07 18:33:14 +01:00
}
}