Skip to content

Commit f37e326

Browse files
authored
Merge pull request #8927 from obozdag/patch-13
docs: Small typo in testing/overview.rst
2 parents 2e70dd8 + 2ba2c45 commit f37e326

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/testing/overview.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ There are no rules for how test files must be placed. However, we recommend that
7676
you establish placement rules in advance so that you can quickly understand where
7777
the test files are located.
7878

79-
In this document, we will place the test files corresponding to the classes in
80-
the **app** directory in the **tests/app** directory. To test a new library,
79+
In this document, the test files corresponding to the classes in the **app** directory
80+
will be placed in the **tests/app** directory. To test a new library,
8181
**app/Libraries/Foo.php**, you would create a new file at
8282
**tests/app/Libraries/FooTest.php**:
8383

8484
.. literalinclude:: overview/001.php
8585

86-
To test one of your models, **app/Models/UserMode.php**, you might end up with
86+
To test one of your models, **app/Models/UserModel.php**, you might end up with
8787
something like this in **tests/app/Models/UserModelTest.php**:
8888

8989
.. literalinclude:: overview/002.php
@@ -121,7 +121,7 @@ parent as well so extended test cases do not interfere with staging:
121121
Traits
122122
------
123123

124-
A common way to enhance your tests is by using traits to consolidate staging across different
124+
A common way to enhance your tests is using traits to consolidate staging across different
125125
test cases. ``CIUnitTestCase`` will detect any class traits and look for staging methods
126126
to run named for the trait itself (i.e. `setUp{NameOfTrait}()` and `tearDown{NameOfTrait}()`).
127127

0 commit comments

Comments
 (0)