Skip to content

Commit 26fb8f4

Browse files
ashleyshawCopilot
andauthored
Update tests/test-theme-setup.php
Co-authored-by: Copilot <[email protected]> Signed-off-by: Ash Shaw <[email protected]>
1 parent c9dd811 commit 26fb8f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-theme-setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function test_theme_supports() {
3333
*/
3434
public function test_theme_version_constant() {
3535
$this->assertTrue( defined( '{{theme_slug|upper}}_VERSION' ) );
36-
$this->assertNotEmpty( {{theme_slug|upper}}_VERSION );
36+
$this->assertNotEmpty( constant( '{{theme_slug|upper}}_VERSION' ) );
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)