File tree Expand file tree Collapse file tree
modules/graphql_core/tests/src/Kernel/Blocks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class BlockTest extends GraphQLCoreTestBase {
3333 /**
3434 * {@inheritdoc}
3535 */
36- protected function setUp () {
36+ protected function setUp (): void {
3737 parent ::setUp ();
3838
3939 /** @var \Drupal\Core\Extension\ThemeInstallerInterface $themeInstaller */
@@ -43,7 +43,8 @@ protected function setUp() {
4343 $ this ->installEntitySchema ('block_content ' );
4444 try {
4545 $ this ->installEntitySchema ('path_alias ' );
46- } catch (PluginNotFoundException $ exc ) {
46+ }
47+ catch (PluginNotFoundException $ exc ) {
4748 // Ignore if the path_alias entity doesn't exist. This means we are
4849 // testing a Drupal version < 8.8 and aliases are not entities yet.
4950 }
@@ -76,7 +77,7 @@ public function testStaticBlocks() {
7677 $ metadata = $ this ->defaultCacheMetaData ();
7778 $ metadata ->addCacheTags ([
7879 'block_content:1 ' ,
79- // TODO: Check metatags. Is the config metatag required?
80+ // @todo Check metatags. Is the config metatag required?
8081 'config:block.block.stark_powered ' ,
8182 ]);
8283
@@ -98,4 +99,5 @@ public function testStaticBlocks() {
9899 ],
99100 ], $ metadata );
100101 }
102+
101103}
You can’t perform that action at this time.
0 commit comments