Marks fork as 2.0.0.
This commit is contained in:
parent
d93a6b5c09
commit
8d8de4a2b0
81 changed files with 1921 additions and 3954 deletions
|
|
@ -1,29 +1,26 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
declare( strict_types=1 );
|
||||
|
||||
namespace Tests\Functions;
|
||||
|
||||
use Arendsen\FluxQueryBuilder\Functions\Max;
|
||||
use Hosterra\FluxBuilder\Functions\Max;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class MaxFunctionTest extends TestCase
|
||||
{
|
||||
public function testSimpleMax()
|
||||
{
|
||||
$expression = new Max();
|
||||
final class MaxFunctionTest extends TestCase {
|
||||
public function testSimpleMax() {
|
||||
$expression = new Max();
|
||||
|
||||
$query = '|> max() ';
|
||||
$query = '|> max() ';
|
||||
|
||||
$this->assertEquals($query, $expression->__toString());
|
||||
}
|
||||
$this->assertEquals( $query, $expression->__toString() );
|
||||
}
|
||||
|
||||
public function testMaxWithColumn()
|
||||
{
|
||||
$expression = new Max('something');
|
||||
public function testMaxWithColumn() {
|
||||
$expression = new Max( 'something' );
|
||||
|
||||
$query = '|> max(column: "something") ';
|
||||
$query = '|> max(column: "something") ';
|
||||
|
||||
$this->assertEquals($query, $expression->__toString());
|
||||
}
|
||||
$this->assertEquals( $query, $expression->__toString() );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue