Skip to content

Commit

Permalink
Fix Failing Build (#23386)
Browse files Browse the repository at this point in the history
Travis CI is failing on "PHP Fatal error:  Cannot redeclare Illuminate\Tests\Database\DatabaseQueryBuilderTest::testWhereTimePostgres() in /home/travis/build/laravel/framework/tests/Database/DatabaseQueryBuilderTest.php on line 391"

Looks like a redundant function.
  • Loading branch information
jreynojustin authored and taylorotwell committed Mar 5, 2018
1 parent c34164f commit d217a20
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/Database/DatabaseQueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,6 @@ public function testWhereTimeOperatorOptionalMySql()
$this->assertEquals([0 => '22:00'], $builder->getBindings());
}

public function testWhereTimePostgres()
{
$builder = $this->getPostgresBuilder();
$builder->select('*')->from('users')->whereTime('created_at', '>=', '22:00');
$this->assertEquals('select * from "users" where "created_at"::time >= ?', $builder->toSql());
$this->assertEquals([0 => '22:00'], $builder->getBindings());
}

public function testWhereTimeOperatorOptionalPostgres()
{
$builder = $this->getPostgresBuilder();
Expand Down

0 comments on commit d217a20

Please sign in to comment.