1 | <?php |
||
10 | abstract class AbstractBaseFunctionTest extends WebTestCase |
||
11 | { |
||
12 | protected function setUp() |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | protected function getMediaPathPublic() |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | protected function getMediaPathPrivate() |
||
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | protected function getFixturesPath() |
||
54 | |||
55 | /** |
||
56 | * @param int $amount |
||
57 | * @param string $path |
||
58 | */ |
||
59 | protected function assertNumberOfFilesInPath($amount, $path) |
||
65 | |||
66 | /** |
||
67 | * @param string $path |
||
68 | * @return bool |
||
69 | */ |
||
70 | protected function emptyFolder($path) |
||
84 | |||
85 | /** |
||
86 | * @return Client |
||
87 | */ |
||
88 | protected function getAuthenticatedClient() |
||
92 | |||
93 | /** |
||
94 | * @param Form $form |
||
95 | * @param array $asserts |
||
96 | */ |
||
97 | protected function assertSonataFormValues(Form $form, array $asserts) |
||
107 | |||
108 | /** |
||
109 | * @param Form $form |
||
110 | * @return array |
||
111 | */ |
||
112 | protected function getSonataFormValues(Form $form) |
||
123 | |||
124 | /** |
||
125 | * @param Form $form |
||
126 | * @param array $updates |
||
127 | */ |
||
128 | protected function updateSonataFormValues(Form $form, array $updates) |
||
138 | |||
139 | /** |
||
140 | * @param Form $form |
||
141 | * @return mixed |
||
142 | */ |
||
143 | protected function getSonataFormBaseKey(Form $form) |
||
153 | |||
154 | /** |
||
155 | * @param Form $form |
||
156 | * @param string $file |
||
157 | * @throws \Exception |
||
158 | */ |
||
159 | protected function setFormBinaryContent(Form $form, $file) |
||
168 | } |
||
169 |
If you suppress an error, we recommend checking for the error condition explicitly: