| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function testGetFlexiData() |
||
| 39 | { |
||
| 40 | if ($this->object->url == 'https://demo.flexibee.eu') { |
||
| 41 | $this->markTestSkipped('Public demo site does not allow read here'); |
||
|
|
|||
| 42 | } else { |
||
| 43 | $flexidata = $this->object->getFlexiData(); |
||
| 44 | $this->assertArrayHasKey(0, $flexidata); |
||
| 45 | $this->assertArrayHasKey('id', $flexidata[0]); |
||
| 46 | $filtrered = $this->object->getFlexiData(null, |
||
| 47 | key($flexidata[0])." = ".current($flexidata[0])); |
||
| 48 | $this->assertArrayHasKey(0, $filtrered); |
||
| 49 | $this->assertArrayHasKey('id', $filtrered[0]); |
||
| 50 | } |
||
| 53 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.