X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Frest%2Fsrc%2FTests%2FUpdate%2FRestExportAuthCorrectionUpdateTest.php;fp=web%2Fcore%2Fmodules%2Frest%2Fsrc%2FTests%2FUpdate%2FRestExportAuthCorrectionUpdateTest.php;h=0000000000000000000000000000000000000000;hp=aeca71f621def92f1ce091a809c5050e71a62e1d;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/rest/src/Tests/Update/RestExportAuthCorrectionUpdateTest.php b/web/core/modules/rest/src/Tests/Update/RestExportAuthCorrectionUpdateTest.php deleted file mode 100644 index aeca71f62..000000000 --- a/web/core/modules/rest/src/Tests/Update/RestExportAuthCorrectionUpdateTest.php +++ /dev/null @@ -1,36 +0,0 @@ -databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/rest-export-with-authentication-correction.php', - ]; - } - - /** - * Ensures that update hook is run for "rest" module. - */ - public function testUpdate() { - $this->runUpdates(); - - // Get particular view. - $view = \Drupal::entityTypeManager()->getStorage('view')->load('rest_export_with_authorization_correction'); - $displays = $view->get('display'); - $this->assertIdentical($displays['rest_export_1']['display_options']['auth'], ['cookie'], 'Cookie is used for authentication'); - } - -}