@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Returns the empty value expected from the field type. |
65 | 65 | * |
66 | - * @return mixed |
|
66 | + * @return Value |
|
67 | 67 | */ |
68 | 68 | protected function getEmptyValueExpectation() |
69 | 69 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * NOT take care for test case wide caching of the field type, just return |
28 | 28 | * a new instance from this method! |
29 | 29 | * |
30 | - * @return \eZ\Publish\Core\FieldType\Relation\Type |
|
30 | + * @return RelationList |
|
31 | 31 | */ |
32 | 32 | protected function createFieldTypeUnderTest() |
33 | 33 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * NOT take care for test case wide caching of the field type, just return |
31 | 31 | * a new instance from this method! |
32 | 32 | * |
33 | - * @return FieldType |
|
33 | + * @return Selection |
|
34 | 34 | */ |
35 | 35 | protected function createFieldTypeUnderTest() |
36 | 36 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * NOT take care for test case wide caching of the field type, just return |
30 | 30 | * a new instance from this method! |
31 | 31 | * |
32 | - * @return FieldType |
|
32 | + * @return Time |
|
33 | 33 | */ |
34 | 34 | protected function createFieldTypeUnderTest() |
35 | 35 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return UrlType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return UserType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -474,6 +474,9 @@ |
||
474 | 474 | ); |
475 | 475 | } |
476 | 476 | |
477 | + /** |
|
478 | + * @param boolean $persistenceCalled |
|
479 | + */ |
|
477 | 480 | protected function assertContentHandlerExpectations($callNo, $persistenceCalled, $contentId, $contentInfo) |
478 | 481 | { |
479 | 482 | $this->getPersistenceMock() |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use eZ\Publish\Core\MVC\Symfony\RequestStackAware; |
16 | 16 | use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference; |
17 | 17 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
18 | -use Symfony\Component\HttpFoundation\Request; |
|
19 | 18 | |
20 | 19 | class RouteReferenceGenerator implements RouteReferenceGeneratorInterface |
21 | 20 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
5 | 5 | use eZ\Publish\SPI\Persistence\Content\Field; |
6 | 6 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
7 | -use eZ\Publish\SPI\Persistence\Content\Location; |
|
8 | 7 | use eZ\Publish\SPI\Persistence\Content\VersionInfo; |
9 | 8 | |
10 | 9 | $content = new Content(); |