mscherer 6 years ago
parent
commit
7b9045a653

+ 1 - 0
src/TestSuite/ConsoleIntegrationTestTrait.php

@@ -175,6 +175,7 @@ trait ConsoleIntegrationTestTrait
     {
         $this->assertThat($expected, new ContentsContain($this->_out->messages(), 'output'), $message);
     }
+
     /**
      * Asserts `stdout` does not contain expected output
      *

+ 1 - 0
src/TestSuite/EmailTrait.php

@@ -65,6 +65,7 @@ trait EmailTrait
     {
         $this->assertThat($count, new MailCount(), $message);
     }
+
     /**
      *
      * Asserts that no emails were sent

+ 1 - 0
tests/TestCase/Core/Retry/CommandRetryTest.php

@@ -83,6 +83,7 @@ class CommandRetryTest extends TestCase
         $this->expectExceptionMessage('this is failing');
         $retry->run($action);
     }
+
     /**
      * Test that the strategy is respected
      *

+ 2 - 0
tests/TestCase/Http/Client/RequestTest.php

@@ -42,6 +42,7 @@ class RequestTest extends TestCase
         $this->assertEquals('application/json', $request->getHeaderLine('Content-Type'));
         $this->assertEquals(json_encode($data), $request->body());
     }
+
     /**
      * @param array $headers The HTTP headers to set.
      * @param array|string|null $data The request body to use.
@@ -58,6 +59,7 @@ class RequestTest extends TestCase
         $this->assertEquals('application/json', $request->getHeaderLine('Content-Type'));
         $this->assertEquals(json_encode($data), $request->body());
     }
+
     /**
      * @dataProvider additionProvider
      */

+ 1 - 0
tests/TestCase/Http/ClientTest.php

@@ -490,6 +490,7 @@ class ClientTest extends TestCase
             [Request::METHOD_TRACE],
         ];
     }
+
     /**
      * test simple POST request.
      *

+ 1 - 0
tests/TestCase/Http/ServerRequestTest.php

@@ -174,6 +174,7 @@ class ServerRequestTest extends TestCase
         $request = new ServerRequest('/');
         $this->assertEquals('/', $request->getUri()->getPath());
     }
+
     /**
      * Test that querystring args provided in the URL string are parsed.
      *

+ 1 - 0
tests/TestCase/I18n/TimeTest.php

@@ -192,6 +192,7 @@ class TimeTest extends TestCase
             ],
         ];
     }
+
     /**
      * test the timezone option for timeAgoInWords
      *

+ 1 - 0
tests/TestCase/Mailer/EmailTest.php

@@ -1587,6 +1587,7 @@ class EmailTest extends TestCase
         $this->assertContains($expected, $result['message']);
         $this->assertContains('--' . $boundary . '--', $result['message']);
     }
+
     /**
      * testSendWithLog method
      *

+ 1 - 0
tests/TestCase/ORM/Behavior/TreeBehaviorTest.php

@@ -207,6 +207,7 @@ class TreeBehaviorTest extends TestCase
         $count = $table->childCount($table->get(1), false);
         $this->assertEquals(4, $count);
     }
+
     /**
      * Tests the find('children') method
      *

+ 1 - 0
tests/TestCase/ORM/EntityTest.php

@@ -1625,6 +1625,7 @@ class EntityTest extends TestCase
     {
         return [[''], [null], [false]];
     }
+
     /**
      * Tests that trying to get an empty property name throws exception
      *

+ 1 - 0
tests/TestCase/ORM/QueryRegressionTest.php

@@ -1720,6 +1720,7 @@ class QueryRegressionTest extends TestCase
 
         $this->assertEquals($expected, $result);
     }
+
     /**
      * Tests deep formatters get the right object type when applied in a beforeFind
      *

+ 1 - 0
tests/TestCase/Shell/Helper/TableHelperTest.php

@@ -223,6 +223,7 @@ class TableHelperTest extends TestCase
         ];
         $this->assertEquals($expected, $this->stub->messages());
     }
+
     /**
      * Test output with different header style
      *