diff --git a/WordPressVIPMinimum/Tests/Constants/ConstantStringUnitTest.inc b/WordPressVIPMinimum/Tests/Constants/ConstantStringUnitTest.inc index 5bace853..b07e5e7f 100644 --- a/WordPressVIPMinimum/Tests/Constants/ConstantStringUnitTest.inc +++ b/WordPressVIPMinimum/Tests/Constants/ConstantStringUnitTest.inc @@ -8,7 +8,7 @@ if ( ! defined( WPCOM_VIP ) ) { // Error. define( WPCOM_VIP ); // Error. } -namespace Foo/Bar; +namespace Foo\Bar; const REST_ALLOWED_META_PREFIXES = [ 'foo-', 'bar-', 'baz-' ]; if ( defined( __NAMESPACE__ . '\REST_ALLOWED_META_PREFIXES' ) && in_array( 'foo-', REST_ALLOWED_META_PREFIXES, true ) ) { // Ok. define( __NAMESPACE__ . REST_ALLOWED_META_PREFIXES ); // Error.