| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 8 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | View Code Duplication | public function testCanView() |
|
| 25 | { |
||
| 26 | $object = $this->objFromFixture('RecentBlogPostsBlock', 'one'); |
||
| 27 | $admin = $this->objFromFixture('Member', 'admin'); |
||
| 28 | $this->assertTrue($object->canView($admin)); |
||
| 29 | $member = $this->objFromFixture('Member', 'default'); |
||
| 30 | $this->assertTrue($object->canView($member)); |
||
| 31 | } |
||
| 32 | |||
| 44 | } |
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.