To make them look like the other test functions :)
@@ -30,7 +30,7 @@ class TupleComparisonTest extends TestCase
/**
* Tests generating a function with no arguments
*/
- public function testsSimpleTuple(): void
+ public function testSimpleTuple(): void
{
$f = new TupleComparison(['field1', 'field2'], [1, 2], ['integer', 'integer'], '=');
$binder = new ValueBinder();
@@ -390,7 +390,7 @@ class WebExceptionRendererTest extends TestCase
* test that error400 only modifies the messages on Cake Exceptions.
- public function testerror400OnlyChangingCakeException(): void
+ public function testError400OnlyChangingCakeException(): void
Configure::write('debug', false);
@@ -693,7 +693,7 @@ class ServerRequestTest extends TestCase
* Test AJAX, flash and friends
- public function testisAjax(): void
+ public function testIsAjax(): void
$request = new ServerRequest();
@@ -46,7 +46,7 @@ class ConsoleLogTest extends TestCase
* Test writing to a file stream
- public function testlogToFileStream(): void
+ public function testLogToFileStream(): void
$filename = tempnam(sys_get_temp_dir(), 'cake_log_test');
$log = new ConsoleLog([
@@ -79,7 +79,7 @@ class LocatorAwareTraitTest extends TestCase
$this->assertSame('PaginatorPosts', $result->getAlias());
}
- public function testfetchTableException()
+ public function testFetchTableException(): void
$this->expectException(UnexpectedValueException::class);
$this->expectExceptionMessage(
@@ -90,7 +90,7 @@ class LocatorAwareTraitTest extends TestCase
$stub->fetchTable();
- public function testfetchTableExceptionForEmptyString()
+ public function testFetchTableExceptionForEmptyString(): void
@@ -242,7 +242,7 @@ class TableLocatorTest extends TestCase
* Test that get() uses config data set with getConfig()
- public function testGetWithgetConfig(): void
+ public function testGetWithGetConfig(): void
$this->_locator->setConfig('Articles', [
'table' => 'my_articles',
@@ -51,7 +51,7 @@ class RulesCheckerIntegrationTest extends TestCase
*
* @group save
- public function testsSaveBelongsToWithValidationError(): void
+ public function testSaveBelongsToWithValidationError(): void
$entity = new Entity([
'title' => 'A Title',