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
|
@@ 684-691 (lines=8) @@
|
| 681 |
|
); |
| 682 |
|
} |
| 683 |
|
|
| 684 |
|
public function providerForTestCanUserSimple() |
| 685 |
|
{ |
| 686 |
|
return [ |
| 687 |
|
[true, true], |
| 688 |
|
[false, false], |
| 689 |
|
[[], false], |
| 690 |
|
]; |
| 691 |
|
} |
| 692 |
|
|
| 693 |
|
/** |
| 694 |
|
* Test for the canUser() method. |