Skip to content

Commit

Permalink
Add test for escaped relation’s name
Browse files Browse the repository at this point in the history
Close #32
  • Loading branch information
chanmix51 committed Sep 29, 2015
1 parent 9c5f9ea commit 9fdce73
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
41 changes: 21 additions & 20 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sources/tests/Fixture/BetaStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Beta
*
* Structure class for relation pomm_test.beta.
* Structure class for relation "pomm_test"."beta".
* This is the beta comment.
*
* beta_one:
Expand All @@ -32,7 +32,7 @@ class Beta extends RowStructure
public function __construct()
{
$this
->setRelation('pomm_test.beta')
->setRelation('"pomm_test"."beta"')
->setPrimaryKey(['beta_two', 'beta_one'])
->addField('beta_one', 'int4')
->addField('beta_two', 'int4')
Expand Down

0 comments on commit 9fdce73

Please sign in to comment.