Skip to content

Commit

Permalink
Don't test removed tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Fritsch committed Jan 8, 2025
1 parent 420bfae commit e156318
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/src/Kernel/MetatagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public function testTagDefaultValues(): void {
$elements = $metatagManager->generateRawElements($tags, $this->node);

$this->assertStringEndsWith('/node/1', $elements['canonical_url']['#attributes']['href']);
$this->assertEquals('en', $elements['content_language']['#attributes']['content']);
$this->assertEquals($description, $elements['description']['#attributes']['content']);
$this->assertStringEndsWith('/files/image-test.png', $elements['image_src']['#attributes']['href']);
$this->assertEquals('no-referrer', $elements['referrer']['#attributes']['content']);
Expand All @@ -123,8 +122,6 @@ public function testTagDefaultValues(): void {

$this->assertEquals($description, $elements['twitter_cards_description']['#attributes']['content']);
$this->assertStringContainsString('/files/styles/twitter/public/image-test.png.webp', $elements['twitter_cards_image']['#attributes']['content']);
$this->assertEquals('512', $elements['twitter_cards_image_height']['#attributes']['content']);
$this->assertEquals('1024', $elements['twitter_cards_image_width']['#attributes']['content']);
$this->assertEquals('summary_large_image', $elements['twitter_cards_type']['#attributes']['content']);

$this->assertEquals('Article', $elements['schema_article_type']['#attributes']['content']);
Expand Down

0 comments on commit e156318

Please sign in to comment.