|
@@ -628,7 +628,7 @@ |
|
|
block discarded – undo |
|
628
|
628
|
try{ |
|
629
|
629
|
$bean = $this->tdbmService->findObjectByPk('contact', ['id' => -42], [], false, TDBMObject::class); |
|
630
|
630
|
$this->assertEquals(true, false); |
|
631
|
|
- }catch (NoBeanFoundException $exception){ |
|
|
631
|
+ } catch (NoBeanFoundException $exception){ |
|
632
|
632
|
$this->assertEquals($exception->getMessage(), "No result found for query on table 'contact' for 'id' = -42"); |
|
633
|
633
|
$this->assertEquals($exception->getPrimaryKeys(), ['id' => -42]); |
|
634
|
634
|
$this->assertEquals($exception->getTableName(), 'contact'); |
Please login to merge, or discard this patch.