1 | <?php |
||
10 | class FlexiBeeTest extends \Test\Ease\BrickTest |
||
11 | { |
||
12 | /** |
||
13 | * @var FlexiBee |
||
14 | */ |
||
15 | protected $object; |
||
16 | |||
17 | /** |
||
18 | * Sets up the fixture, for example, opens a network connection. |
||
19 | * This method is called before a test is executed. |
||
20 | * @covers FlexiPeeHP\FlexiBee::__construct |
||
21 | */ |
||
22 | protected function setUp() |
||
26 | |||
27 | /** |
||
28 | * Tears down the fixture, for example, closes a network connection. |
||
29 | * This method is called after a test is executed. |
||
30 | */ |
||
31 | protected function tearDown() |
||
35 | |||
36 | public function testConstructor() |
||
58 | |||
59 | public function testCurlInit() |
||
64 | |||
65 | /** |
||
66 | * @covers FlexiPeeHP\FlexiBee::setAgenda |
||
67 | */ |
||
68 | public function testSetAgenda() |
||
73 | |||
74 | /** |
||
75 | * @covers FlexiPeeHP\FlexiBee::object2array |
||
76 | */ |
||
77 | public function testObject2array() |
||
82 | |||
83 | /** |
||
84 | * @covers FlexiPeeHP\FlexiBee::performRequest |
||
85 | */ |
||
86 | public function testPerformRequest() |
||
97 | |||
98 | /** |
||
99 | * @covers FlexiPeeHP\FlexiBee::getLastImportId |
||
100 | * @todo Implement testGetLastImportId(). |
||
101 | */ |
||
102 | public function testGetLastImportId() |
||
109 | |||
110 | /** |
||
111 | * @covers FlexiPeeHP\FlexiBee::xml2array |
||
112 | * @todo Implement testXml2array(). |
||
113 | */ |
||
114 | public function testXml2array() |
||
121 | |||
122 | /** |
||
123 | * @covers FlexiPeeHP\FlexiBee::disconnect |
||
124 | * @todo Implement testDisconnect(). |
||
125 | */ |
||
126 | public function testDisconnect() |
||
133 | |||
134 | /** |
||
135 | * @covers FlexiPeeHP\FlexiBee::__destruct |
||
136 | * @todo Implement test__destruct(). |
||
137 | */ |
||
138 | public function test__destruct() |
||
145 | |||
146 | /** |
||
147 | * @covers FlexiPeeHP\FlexiBee::loadFlexiData |
||
148 | * @todo Implement testLoadFlexiData(). |
||
149 | */ |
||
150 | public function testLoadFlexiData() |
||
157 | |||
158 | /** |
||
159 | * @covers FlexiPeeHP\FlexiBee::getFlexiRow |
||
160 | * @todo Implement testGetFlexiRow(). |
||
161 | */ |
||
162 | public function testGetFlexiRow() |
||
169 | |||
170 | /** |
||
171 | * @covers FlexiPeeHP\FlexiBee::getFlexiData |
||
172 | * @todo Implement testGetFlexiData(). |
||
173 | */ |
||
174 | public function testGetFlexiData() |
||
181 | |||
182 | /** |
||
183 | * @covers FlexiPeeHP\FlexiBee::loadFromFlexiBee |
||
184 | * @todo Implement testLoadFromFlexiBee(). |
||
185 | */ |
||
186 | public function testLoadFromFlexiBee() |
||
193 | |||
194 | /** |
||
195 | * @covers FlexiPeeHP\FlexiBee::saveToFlexiBee |
||
196 | * @todo Implement testSaveToFlexiBee(). |
||
197 | */ |
||
198 | public function testSaveToFlexiBee() |
||
205 | |||
206 | /** |
||
207 | * @covers FlexiPeeHP\FlexiBee::jsonizeData |
||
208 | */ |
||
209 | public function testJsonizeData() |
||
214 | |||
215 | /** |
||
216 | * @covers FlexiPeeHP\FlexiBee::insertToFlexiBee |
||
217 | * @todo Implement testInsertToFlexiBee(). |
||
218 | */ |
||
219 | public function testInsertToFlexiBee() |
||
226 | |||
227 | /** |
||
228 | * @covers FlexiPeeHP\FlexiBee::idExists |
||
229 | * @todo Implement testIdExists(). |
||
230 | */ |
||
231 | public function testIdExists() |
||
238 | |||
239 | /** |
||
240 | * @covers FlexiPeeHP\FlexiBee::recordExists |
||
241 | * @todo Implement testRecordExists(). |
||
242 | */ |
||
243 | public function testRecordExists() |
||
250 | |||
251 | /** |
||
252 | * @covers FlexiPeeHP\FlexiBee::getColumnsFromFlexibee |
||
253 | * @todo Implement testGetColumnsFromFlexibee(). |
||
254 | */ |
||
255 | public function testGetColumnsFromFlexibee() |
||
262 | |||
263 | /** |
||
264 | * @covers FlexiPeeHP\FlexiBee::getKod |
||
265 | * @todo Implement testGetKod(). |
||
266 | */ |
||
267 | public function testGetKod() |
||
274 | |||
275 | /** |
||
276 | * @covers FlexiPeeHP\FlexiBee::searchString |
||
277 | * @todo Implement testSearchString(). |
||
278 | */ |
||
279 | public function testSearchString() |
||
286 | |||
287 | /** |
||
288 | * @covers FlexiPeeHP\FlexiBee::logResult |
||
289 | * @todo Implement testLogResult(). |
||
290 | */ |
||
291 | public function testLogResult() |
||
298 | |||
299 | /** |
||
300 | * @covers FlexiPeeHP\FlexiBee::flexiUrl |
||
301 | */ |
||
302 | public function testFlexiUrl() |
||
309 | } |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: