Skip to content

Commit d2c6162

Browse files
Fix rector errors in tests
1 parent 8e1f62f commit d2c6162

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/system/Database/Live/WriteTypeQueryTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,11 @@ final class WriteTypeQueryTest extends CIUnitTestCase
3939
*/
4040
private function testAssertTypeReturning($dbDriver): string
4141
{
42-
$assertType = 'assertTrue';
4342
if ($dbDriver === 'Postgre') {
44-
$assertType = 'assertFalse';
43+
return 'assertFalse';
4544
}
4645

47-
return $assertType;
46+
return 'assertTrue';
4847
}
4948

5049
public function testSet(): void

0 commit comments

Comments
 (0)