Skip to content

Commit

Permalink
Sync test files from ampproject/amp-toolbox#1198
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Apr 11, 2021
1 parent 7f57154 commit aa783f8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
11 changes: 5 additions & 6 deletions tests/Optimizer/SpecTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ final class SpecTest extends TestCase

'PreloadHeroImage - max-hero-image-count-param' => 'see https://github.com/ampproject/amp-toolbox-php/issues/55',
'PreloadHeroImage - disable_via_param' => 'see https://github.com/ampproject/amp-toolbox-php/issues/55',
'PreloadHeroImage - amp-iframe_data-hero' => 'see https://github.com/ampproject/amp-toolbox/pull/1198'
];

const CLASS_SKIP_TEST = '__SKIP__';
Expand Down Expand Up @@ -69,23 +68,23 @@ public function dataTransformerSpecFiles()
],
'PreloadHeroImage' => [
PreloadHeroImage::class,
self::TRANSFORMER_SPEC_PATH . '/valid/OptimizeHeroImages'
self::TRANSFORMER_SPEC_PATH . '/valid/OptimizeHeroImages',
],
'ReorderHead' => [
ReorderHead::class,
self::TRANSFORMER_SPEC_PATH . '/valid/ReorderHeadTransformer'
self::TRANSFORMER_SPEC_PATH . '/valid/ReorderHeadTransformer',
],
'RewriteAmpUrls' => [
RewriteAmpUrls::class,
self::TRANSFORMER_SPEC_PATH . '/valid/RewriteAmpUrls'
self::TRANSFORMER_SPEC_PATH . '/valid/RewriteAmpUrls',
],
'RewriteAmpUrls (experimental)' => [
RewriteAmpUrls::class,
self::TRANSFORMER_SPEC_PATH . '/experimental/RewriteAmpUrls'
self::TRANSFORMER_SPEC_PATH . '/experimental/RewriteAmpUrls',
],
'ServerSideRendering' => [
ServerSideRendering::class,
self::TRANSFORMER_SPEC_PATH . '/valid/ServerSideRendering'
self::TRANSFORMER_SPEC_PATH . '/valid/ServerSideRendering',
],
];

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa783f8

Please # to comment.