From 662cc5bce6fe79d4adad3db0f9800c042dae4fa9 Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Mon, 1 Jul 2024 19:57:14 +0200 Subject: [PATCH] masa, init before tests https://github.com/MasaCMS/MasaCMS/issues/313#issuecomment-2182769621 --- custom/masacms/core/tests/runner.cfm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/custom/masacms/core/tests/runner.cfm b/custom/masacms/core/tests/runner.cfm index 7a7da02..3eff2ec 100644 --- a/custom/masacms/core/tests/runner.cfm +++ b/custom/masacms/core/tests/runner.cfm @@ -29,6 +29,17 @@ */ + // https://github.com/MasaCMS/MasaCMS/issues/313#issuecomment-2182769621 + systemOutput( "calling ?appreload&reload=appreload&applydbupdates=true via internalRequest", true ); + _internalRequest( + template="/index.cfm", + urls={ + appreload: true, + reload: "appreload", + applydbupdates: true + } + ); + files = directoryList(path="/home/runner/work/lucee-testlab/lucee-testlab/", recurse=true, filter="*.cf*,*.json"); for (f in files) systemOutput(f, true);