From 765468f71bf93cffeaa65c5542010a04d936ee5c Mon Sep 17 00:00:00 2001 From: Titouan Mathis Date: Fri, 8 Mar 2024 17:21:58 +0100 Subject: [PATCH] Lint files --- tests/Managers/AssetsManagerTest.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Managers/AssetsManagerTest.php b/tests/Managers/AssetsManagerTest.php index 16ec741..fa569c9 100644 --- a/tests/Managers/AssetsManagerTest.php +++ b/tests/Managers/AssetsManagerTest.php @@ -98,12 +98,13 @@ public function test_entries_are_enqueued_by_template() } - public function test_entries_are_enqeued_by_method() { - $this->assets_manager->enqueue_script( 'method-app', 'app.js' ); + public function test_entries_are_enqeued_by_method() + { + $this->assets_manager->enqueue_script('method-app', 'app.js'); $this->assertTrue(in_array('theme-method-app', wp_scripts()->queue, true)); $this->assertTrue(str_ends_with(wp_scripts()->query('theme-method-app')->src, '/app.1234.js')); - $this->assets_manager->enqueue_style( 'method-styles', 'styles.css' ); + $this->assets_manager->enqueue_style('method-styles', 'styles.css'); $this->assertTrue(in_array('theme-method-styles', wp_styles()->queue, true)); $this->assertTrue(str_ends_with(wp_styles()->query('theme-method-styles')->src, '/styles.1234.css')); }