My ColdBox application is currently set up with a / application mapping. It is accessed via http at example.com/index.cfm
I just started to try to set up integration testing, and I’m having some problems.
Application.cfc has this at the top:
// ColdBox Specifics
COLDBOX_APP_ROOT_PATH = getDirectoryFromPath(getCurrentTemplatePath());
COLDBOX_APP_MAPPING = “”;
COLDBOX_CONFIG_FILE = “”;
COLDBOX_APP_KEY = “”;
this.mappings["/"] = getDirectoryFromPath(getCurrentTemplatePath());
I can’t seem to figure out how to set up my testing environment to refer to this application.
Is there a better way to approach setting up applications w/ app specific mappings that work at the top-level domain instead of example.com/myApp/ ??
I just feel like i’m missing some understanding here. Any tips or pointers would be greatly appreciated.
-Ben