Skip to content

Commit

Permalink
test fix for PGSQL + CS
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf committed Sep 9, 2019
1 parent 558dcab commit f51198b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class ManyToOneDataLoaderTest extends TestCase
{

public function testGet()
{
$connection = $this->createMock(Connection::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

class StaticPartialQueryTest extends TestCase
{

public function testRegisterDataLoader()
{
$query = new StaticPartialQuery('FROM users', ['foo'=>42], ['users'], $this->createMock(StorageNode::class), new MagicQuery());
Expand Down
4 changes: 1 addition & 3 deletions tests/TDBMDaoGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2250,9 +2250,7 @@ public function testLazyLoadBadIdException(): void
$lazyBean = $countryDao->getById(-1, true);

$this->expectException(NoBeanFoundException::class);
$this->expectExceptionMessage("Could not retrieve object from table \"country\" using filter \"(`id` = :tdbmparam1)\" with data \"array (
'tdbmparam1' => -1,
)\".");
$this->expectExceptionMessage("Could not retrieve object from table");
$lazyBean->getLabel();
}
}

0 comments on commit f51198b

Please sign in to comment.