Skip to content

Commit

Permalink
Add TestCase parent to Atan2Test class (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu authored Feb 5, 2024
1 parent 1a13e54 commit ab8419f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/Query/Mysql/Atan2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

namespace DoctrineExtensions\Tests\Query\Mysql;

class Atan2Test
use DoctrineExtensions\Tests\Query\MysqlTestCase;

class Atan2Test extends MysqlTestCase
{
public function testAtan2(): void
{
$this->assertDqlProducesSql(
'SELECT ATAN2(2) from DoctrineExtensions\Tests\Entities\Blank b',
'SELECT ATAN2(2) AS sclr_0 FROM Blank b0_'
'SELECT ATAN2(2, 1) from DoctrineExtensions\Tests\Entities\Blank b',
'SELECT ATAN2(2, 1) AS sclr_0 FROM Blank b0_'
);
}
}

0 comments on commit ab8419f

Please sign in to comment.