| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function testItRestrictsQueryByCanView() |
||
| 40 | { |
||
| 41 | $folder = new Folder([ |
||
| 42 | 'Name' => 'disallowCanView' |
||
| 43 | ]); |
||
| 44 | $folder->write(); |
||
| 45 | |||
| 46 | $args = [ |
||
| 47 | 'parentId' => $folder->ID, |
||
| 48 | ]; |
||
| 49 | $creator = new ReadFileQueryCreator(new Manager()); |
||
| 50 | $creator->resolveConnection(null, $args, null, new ResolveInfo([])); |
||
| 51 | } |
||
| 52 | } |
||
| 53 |