phiamo / MopaBootstrapSandboxBundle

Sandbox Bundle used to seperate live doc from code
http://bootstrap.mohrenweiserpartner.de
Other
24 stars 40 forks source link

Example of TypeTestCase usage #40

Closed molchanoviv closed 9 years ago

molchanoviv commented 9 years ago

Example of usage TypeTestCase from this PR

phiamo commented 9 years ago

i get There was 1 failure:

1) Mopa\Bundle\BootstrapSandboxBundle\Form\Type\ExampleFormsTypeTest::testSubmit with data set #0 (Mopa\Bundle\BootstrapSandboxBundle\Form\Model\ExampleFormsData, array('test', 1)) Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ Mopa\Bundle\BootstrapSandboxBundle\Form\Model\ExampleFormsData Object ( 'textField' => 'test'

if i run it .....

molchanoviv commented 9 years ago

Ghm. It works OK for me. Have you pulled this changes to your vendor directory before test?

phiamo commented 9 years ago

yes i did, which version of symfony are you using? i needed to update from 2.3 to 2.4 due to the dependency KernelTestCase. https://github.com/phiamo/symfony-bootstrap

molchanoviv commented 9 years ago

I use 2.5