diff --git a/composer.lock b/composer.lock index d17195109a1..e0664b3858f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4caefc6f2abae62e7ef489d644048a8f", + "content-hash": "21fc63ecbbc5d31716e574af01f7f472", "packages": [ { "name": "ampproject/amp-toolbox", diff --git a/tests/php/test-includes-admin-functions.php b/tests/php/test-includes-admin-functions.php index eb962e7a325..11097a15e5b 100644 --- a/tests/php/test-includes-admin-functions.php +++ b/tests/php/test-includes-admin-functions.php @@ -126,7 +126,7 @@ public function get_data_for_test_amp_get_customizer_url() { Option::THEME_SUPPORT => AMP_Theme_Support::READER_MODE_SLUG, Option::READER_THEME => ReaderThemes::DEFAULT_READER_THEME, ], - 'assert' => function () { + 'assert' => function () { $this->assertTrue( amp_is_legacy() ); $this->assertEquals( 'customize.php?amp_preview=1&autofocus[panel]=amp_panel', amp_get_customizer_url() ); @@ -153,7 +153,7 @@ static function ( WP_Theme $theme ) { Option::READER_THEME => $theme->get_stylesheet(), ]; }, - 'assert' => function () { + 'assert' => function () { $this->assertFalse( amp_is_legacy() ); $this->assertEquals( 'customize.php?amp_preview=1&=1', amp_get_customizer_url() ); }, @@ -162,7 +162,7 @@ static function ( WP_Theme $theme ) { 'options' => [ Option::THEME_SUPPORT => AMP_Theme_Support::TRANSITIONAL_MODE_SLUG, ], - 'assert' => function () { + 'assert' => function () { $this->assertEquals( '', amp_get_customizer_url() ); }, ],