Skip to content
Snippets Groups Projects
Commit 529fa071 authored by Deepak Mishra's avatar Deepak Mishra
Browse files

phpunit fixes.

parent 6f6be302
No related branches found
No related merge requests found
Pipeline #209393 failed
...@@ -172,7 +172,7 @@ class EntityResourceTest extends KernelTestBase { ...@@ -172,7 +172,7 @@ class EntityResourceTest extends KernelTestBase {
* @return array * @return array
* The input data for the test function. * The input data for the test function.
*/ */
public function patchIndividualConfigProvider() { public static function patchIndividualConfigProvider() {
return [ return [
[['description' => 'PATCHED', 'status' => FALSE]], [['description' => 'PATCHED', 'status' => FALSE]],
[[]], [[]],
...@@ -195,7 +195,7 @@ class EntityResourceTest extends KernelTestBase { ...@@ -195,7 +195,7 @@ class EntityResourceTest extends KernelTestBase {
* @return array * @return array
* The input data for the test function. * The input data for the test function.
*/ */
public function patchIndividualConfigFailedProvider() { public static function patchIndividualConfigFailedProvider() {
return [ return [
[ [
['type' => 'article', 'status' => FALSE], ['type' => 'article', 'status' => FALSE],
......
...@@ -145,7 +145,7 @@ class EntityToJsonApiTest extends JsonapiKernelTestBase { ...@@ -145,7 +145,7 @@ class EntityToJsonApiTest extends JsonapiKernelTestBase {
FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED
); );
$this->createImageField('field_image', 'article'); $this->createImageField('field_image', 'article', 'image');
$this->user = User::create([ $this->user = User::create([
'name' => 'user1', 'name' => 'user1',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment