|
|
@@ -118,7 +118,7 @@ class FunctionsBuilderTest extends TestCase
|
|
|
$this->assertInstanceOf(AggregateExpression::class, $function);
|
|
|
$this->assertSame('MAX(total)', $function->sql(new ValueBinder()));
|
|
|
$this->assertSame('float', $function->getReturnType());
|
|
|
-
|
|
|
+
|
|
|
$function = $this->functions->max('created', ['datetime']);
|
|
|
$this->assertInstanceOf(AggregateExpression::class, $function);
|
|
|
$this->assertSame('MAX(created)', $function->sql(new ValueBinder()));
|