diff --git a/README.rst b/README.rst index bde27bb..0fbc1cf 100644 --- a/README.rst +++ b/README.rst @@ -300,6 +300,8 @@ As this functionality is provided by Drupal core by default, this should pass au .. code:: php + drupalGet('admin'); @@ -318,6 +320,8 @@ The ``BrowserTestBase`` class gives access to a number of helper methods, includ .. code:: php + createUser([ @@ -809,6 +813,8 @@ Let's start with a new test, this time with three article nodes: .. code:: php + createNode(['type' => 'article'])->save(); @@ -1178,6 +1184,8 @@ For the first test case, let's ensure that the title is returned. .. code:: php + createMock(NodeInterface::class); $node->expects($this->once()) @@ -1273,6 +1284,8 @@ Currently any node is able to be passed to the ``Post`` class. Let's ensure that .. code:: php + createMock(NodeInterface::class); diff --git a/docs/images/1.png b/docs/images/1.png new file mode 100644 index 0000000..be24c98 Binary files /dev/null and b/docs/images/1.png differ diff --git a/docs/images/2.png b/docs/images/2.png new file mode 100644 index 0000000..5676619 Binary files /dev/null and b/docs/images/2.png differ diff --git a/docs/images/3.png b/docs/images/3.png new file mode 100644 index 0000000..fa3044c Binary files /dev/null and b/docs/images/3.png differ