Convert README.md to README.rst.
This was done automatically using https://cloudconvert.com/md-to-rst,
and gives some features like the table of contents for free. It also
means that I can use tools like [rst2pdf](https://rst2pdf.org) to create
exportable versions and handouts.
GitHub also still renders it automatically too. :)
An Exception should be thrown if the node passed to the `Post` entity is
not an article.
> Drupal\Tests\my_module\Unit\Entity\PostTest::it_throws_an_exception_if_the_node_is_not_an_article
> Failed asserting that exception of type "InvalidArgumentException" is
thrown.
Add more assertions to ensure that the correct page title is returned as
well as some text on the page.
This fails as the expected test is not returned.
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.
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.
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.
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.