workshop-drupal-automated-t.../web/modules/custom/my_module
Oliver Davies a8480d5e1b 5d. Refactor unit tests
As we need the `Time` object to be passed as an argument to the article
wrapper in every test method, let’s refactor and create a private method
that is responsible for creating the wrapper, and any arguments that it
needs.
2020-03-25 12:31:28 +00:00
..
src 5c: Add isPublishable method to article wrapper 2020-03-25 12:31:28 +00:00
tests/src 5d. Refactor unit tests 2020-03-25 12:31:28 +00:00
my_module.info.yml 1b: Add my_module.info.yml 2020-03-25 12:31:28 +00:00
my_module.routing.yml 3b: Add blog page route 2020-03-25 12:31:28 +00:00
my_module.services.yml 4f: Enable autowiring 2020-03-25 12:31:28 +00:00