Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
40 | public function testTypeWithoutFilter() |
||
41 | { |
||
42 | $user = new User(); |
||
43 | $this->autoFilter = false; |
||
44 | $form = $this->factory->create(UserType::class, $user); |
||
45 | $form->submit([ |
||
46 | 'name' => 'Test name <p>test</p>', |
||
47 | 'about' => 'Test <p>about</p>', |
||
48 | ]); |
||
49 | static::assertSame('Test name <p>test</p>', $user->getName()); |
||
50 | static::assertSame('Test <p>about</p>', $form->getData()->getAbout()); |
||
51 | } |
||
52 | } |
||
53 |