Skip to content

Commit be8e54a

Browse files
seyduxabbuh
authored andcommitted
Update database.rst
1 parent 4787f7c commit be8e54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/database.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Test Code that Interacts with the Database
66

77
If your code interacts with the database, e.g. reads data from or stores data
88
into it, you need to adjust your tests to take this into account. There are
9-
many ways how to deal with this. In a unit test, you can create a mock for
9+
many ways to deal with this. In a unit test, you can create a mock for
1010
a ``Repository`` and use it to return expected objects. In a functional test,
1111
you may need to prepare a test database with predefined values to ensure that
1212
your test always has the same data to work with.

0 commit comments

Comments
 (0)