From 90f0f96f1330094d62111420c4d3f78c2e12651f Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Sun, 26 Mar 2023 23:34:17 -0700 Subject: [PATCH] Fix those pesky tests --- src/Plugins/Admin/AdminPlugin.php | 2 -- tests/Includes/Config.yaml | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/Admin/AdminPlugin.php b/src/Plugins/Admin/AdminPlugin.php index ff0aca7..2687520 100644 --- a/src/Plugins/Admin/AdminPlugin.php +++ b/src/Plugins/Admin/AdminPlugin.php @@ -114,8 +114,6 @@ class AdminPlugin extends AntPlugin } } else if (is_bool($value)) { $currentConfig[$key] = ($value) ? 'true' : 'false'; - } else if (is_array($value)) { - $currentConfig[$key] = implode(', ', $value); } } diff --git a/tests/Includes/Config.yaml b/tests/Includes/Config.yaml index 957ce65..af29083 100644 --- a/tests/Includes/Config.yaml +++ b/tests/Includes/Config.yaml @@ -5,3 +5,5 @@ activeTheme: Default enableCache: true debug: true baseURL: antcms.org/ +embed: + allowed_domains: [youtube.com, twitter.com, github.com, vimeo.com, flickr.com, instagram.com, facebook.com]