Skip to content

Commit 1ee2cf2

Browse files
committed
Adapt ordering test for viewport change
1 parent 71f26ea commit 1ee2cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/php/test-class-amp-theme-support.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,11 +1641,11 @@ static function ( $url ) {
16411641
$ordered_contains = [
16421642
'<html amp=""',
16431643
'<meta charset="' . Document\Encoding::AMP . '">',
1644+
'<meta name="viewport" content="width=device-width">',
16441645
'<link rel="preconnect" href="https://cdn.ampproject.org">',
16451646
'<link rel="dns-prefetch" href="//cdn.ampproject.org">',
16461647
'<link rel="preload" as="script" href="https://cdn.ampproject.org/v0/amp-dynamic-css-classes-0.1.js">',
16471648
'<link rel="preload" as="script" href="https://cdn.ampproject.org/v0/amp-experiment-0.1.js">',
1648-
'<meta name="viewport" content="width=device-width">',
16491649
'<link as="script" crossorigin="anonymous" href="https://cdn.ampproject.org/v0.mjs" rel="modulepreload">',
16501650
'<meta name="generator" content="AMP Plugin',
16511651
'<script type="module" src="https://cdn.ampproject.org/v0.mjs" async crossorigin="anonymous"></script>',

0 commit comments

Comments
 (0)