Commit graph

9 commits

Author SHA1 Message Date
e8bfcb353b 3d: Add BlogPageController
Add the BlogPageController that is referenced within
`my_module.routing.yml`.

We will need to return a render array, but for now let’s return an empty
array.

The test now passes as we are getting the expected response code.
2020-03-25 12:31:28 +00:00
5fe37b439b 3c: Enable the node module
Enable the node module within the test to add the `access content`
permission.

This fails, and returns a 500 response code rather than the expected 200
response code.
2020-03-25 12:31:28 +00:00
749ec4f829 3b: Add blog page route
Add a `my_module.routing.yml` file that adds the missing route for
`/blog`.

This fails, and returns a 403 response code rather than the expected 200
response code.
2020-03-25 12:31:28 +00:00
aabc1aac1b 3a: Add blog page functional test
Add the new `BlogPageTest` functional test to ensure that anonymous
users can access the `/blog` page.

This fails, and returns a 404 response code rather than the expected 200
response code.
2020-03-25 12:31:28 +00:00
1941bdf9ba 2b: Admin page access for admin users
Ensure that users with the `access administration pages` permission can
access the site’s administration pages.
2020-03-25 12:31:28 +00:00
1f6a90624f 2a: Admin page access for anonymous users
Ensure that anonymous users cannot access the site’s administration
pages.
2020-03-25 12:31:28 +00:00
300c572080 1d: Add first functional test
Ensure that anonymous users can view the site’s front page.
2020-03-25 12:31:28 +00:00
b3cddb036b 1b: Add my_module.info.yml
Add the my_module.info.yml file so that the module can be enabled.
2020-03-25 12:31:28 +00:00
5adc4f6a10 init 2020-03-25 12:31:28 +00:00