Skip to content

Commit

Permalink
Added a test
Browse files Browse the repository at this point in the history
  • Loading branch information
nomack84 committed Jun 1, 2012
1 parent 27ab745 commit 9429066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/Generator/DoctrineFormGeneratorTest.php
Expand Up @@ -34,6 +34,7 @@ public function testGenerate()
$content = file_get_contents($this->tmpDir.'/Form/PostType.php');
$this->assertContains('->add(\'title\')', $content);
$this->assertContains('class PostType extends AbstractType', $content);
$this->assertContains("'data_class' => 'Foo\BarBundle\Entity\Post'", $content);
$this->assertContains("'foo_barbundle_posttype'", $content);
}
}

0 comments on commit 9429066

Please sign in to comment.