eZ/Publish/Core/Persistence/Legacy/Tests/Content/FieldValue/Converter/ISBNTest.php 1 location
|
@@ 51-58 (lines=8) @@
|
| 48 |
|
self::assertSame($excpectedIsbn13Value, $fieldSettings['isISBN13']); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
public function providerForTestToFieldDefinition() |
| 52 |
|
{ |
| 53 |
|
return [ |
| 54 |
|
[1, true], |
| 55 |
|
[0, false], |
| 56 |
|
[null, false], |
| 57 |
|
]; |
| 58 |
|
} |
| 59 |
|
} |
| 60 |
|
|
eZ/Publish/Core/Repository/Tests/Service/Mock/PermissionTest.php 1 location
|
@@ 597-604 (lines=8) @@
|
| 594 |
|
); |
| 595 |
|
} |
| 596 |
|
|
| 597 |
|
public function providerForTestCanUserSimple() |
| 598 |
|
{ |
| 599 |
|
return array( |
| 600 |
|
array(true, true), |
| 601 |
|
array(false, false), |
| 602 |
|
array(array(), false), |
| 603 |
|
); |
| 604 |
|
} |
| 605 |
|
|
| 606 |
|
/** |
| 607 |
|
* Test for the canUser() method. |