X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Frest%2Ftests%2Fsrc%2FFunctional%2FViews%2FStyleSerializerTest.php;fp=web%2Fcore%2Fmodules%2Frest%2Ftests%2Fsrc%2FFunctional%2FViews%2FStyleSerializerTest.php;h=b86ede1e9705f2ce7e64e9819f041268afc13382;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=6de1ec97ce12279ea4ba2f6cce1edf93e479110b;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php b/web/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php index 6de1ec97c..b86ede1e9 100644 --- a/web/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php +++ b/web/core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php @@ -296,7 +296,7 @@ class StyleSerializerTest extends ViewTestBase { 'entity_test:7', 'entity_test:8', 'entity_test:9', - 'entity_test_list' + 'entity_test_list', ]; $cache_contexts = [ 'entity_test_view_grants', @@ -639,7 +639,7 @@ class StyleSerializerTest extends ViewTestBase { $node->save(); $result = Json::decode($this->drupalGet('test/serialize/node-field', ['query' => ['_format' => 'json']])); $this->assertEqual($result[1]['nid'], $node->id()); - $this->assertTrue(strpos($this->getRawContent(), "assertTrue(strpos($this->getSession()->getPage()->getContent(), "drupalLogin($this->adminUser); @@ -661,7 +661,7 @@ class StyleSerializerTest extends ViewTestBase { } // Test that multiple raw body fields are shown. - // Make the body field unlimited cardinatlity. + // Set the body field to unlimited cardinality. $storage_definition = $node->getFieldDefinition('body')->getFieldStorageDefinition(); $storage_definition->setCardinality(FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED); $storage_definition->save();