X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fhal%2Ftests%2Fsrc%2FFunctional%2FEntityResource%2FUser%2FUserHalJsonAnonTest.php;fp=web%2Fcore%2Fmodules%2Fhal%2Ftests%2Fsrc%2FFunctional%2FEntityResource%2FUser%2FUserHalJsonAnonTest.php;h=0000000000000000000000000000000000000000;hp=7398f284897aed946f9e739e484f258280ef5f73;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/hal/tests/src/Functional/EntityResource/User/UserHalJsonAnonTest.php b/web/core/modules/hal/tests/src/Functional/EntityResource/User/UserHalJsonAnonTest.php deleted file mode 100644 index 7398f2848..000000000 --- a/web/core/modules/hal/tests/src/Functional/EntityResource/User/UserHalJsonAnonTest.php +++ /dev/null @@ -1,65 +0,0 @@ -applyHalFieldNormalization($default_normalization); - - return $normalization + [ - '_links' => [ - 'self' => [ - 'href' => $this->baseUrl . '/user/3?_format=hal_json', - ], - 'type' => [ - 'href' => $this->baseUrl . '/rest/type/user/user', - ], - ], - ]; - } - - /** - * {@inheritdoc} - */ - protected function getNormalizedPostEntity() { - return parent::getNormalizedPostEntity() + [ - '_links' => [ - 'type' => [ - 'href' => $this->baseUrl . '/rest/type/user/user', - ], - ], - ]; - } - -}