Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
- minor inspection driven improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Nov 21, 2019
1 parent eb8aa02 commit fc53c15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Database/SQLServer/TableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function testAggregationAvgByPassFloat(): void
$this->assertSame(4, $table->count());

//Rounded
$this->assertSame(13, $table->avg('value'));
$this->assertSame(13, (int)$table->avg('value'));
}

public function testAggregationAvgByPassRealFloat(): void
Expand Down Expand Up @@ -60,6 +60,6 @@ public function testAggregationAvgByPassRealFloat(): void
$this->assertSame(4, $table->count());

//Rounded
$this->assertSame(13.75, $table->avg('value'));
$this->assertSame(13.75, (float)$table->avg('value'));
}
}

0 comments on commit fc53c15

Please sign in to comment.