Skip to content

Commit c535242

Browse files
committed
Fix testing.
1 parent 714a5c7 commit c535242

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/en/contributing/cakephp-coding-conventions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,7 @@ to `echo`, a single space, and the php closing tag:
499499
<td><?= $name ?></td>
500500
```
501501

502-
As of PHP 5.4 the short echo tag (`<?=`) is no longer to be consider a 'short
503-
tag' is always available regardless of the `short_open_tag` ini directive.
502+
The short echo tag (`<?=`) is always available regardless of the `short_open_tag` ini directive.
504503

505504
## Naming Convention
506505

docs/en/development/testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ tests:
115115
`tests/TestCase/[Type]` directories.
116116
2. The filenames of these files should end in **Test.php** instead
117117
of just .php.
118-
3. The classes containing tests should extend `Cake\TestSuite\TestCase`,
119-
`Cake\TestSuite\IntegrationTestCase` or `\PHPUnit\Framework\TestCase`.
118+
3. The classes containing tests should extend `Cake\TestSuite\TestCase`
119+
or `\PHPUnit\Framework\TestCase`.
120120
4. Like other classnames, the test case classnames should match the filename.
121121
**RouterTest.php** should contain `class RouterTest extends TestCase`.
122122
5. The name of any method containing a test (i.e. containing an
@@ -1335,7 +1335,7 @@ Now we create the file **tests/TestCase/Controller/MarkersControllerTest.php**
13351335
and make sure our web service is returning the proper response:
13361336

13371337
``` php
1338-
class MarkersControllerTest extends IntegrationTestCase
1338+
class MarkersControllerTest extends TestCase
13391339
{
13401340
use IntegrationTestTrait;
13411341

0 commit comments

Comments
 (0)