Skip to content

Commit c4acbfa

Browse files
authored
Merge pull request #6747 from paul45/patch-1
docs: put grabFromDatabase() code in the right place in database.rst
2 parents 27fd250 + 91f38f9 commit c4acbfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/testing/database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ seed($name)
128128
Allows you to manually load a Seed into the database. The only parameter is the name of the seed to run. The seed
129129
must be present within the path specified in ``$basePath``.
130130

131-
.. literalinclude:: database/006.php
132-
133131
hasInDatabase($table, $data)
134132
----------------------------
135133

@@ -147,6 +145,8 @@ grabFromDatabase($table, $column, $criteria)
147145
Returns the value of ``$column`` from the specified table where the row matches ``$criteria``. If more than one
148146
row is found, it will only return the first one.
149147

148+
.. literalinclude:: database/006.php
149+
150150
Assertions
151151
==========
152152

0 commit comments

Comments
 (0)