Skip to content

Commit c950c6b

Browse files
authored
Merge pull request #1501 from cfwheels/architecture-3.0
Fix for RocketUnit
2 parents cc87f5b + 3e902c2 commit c950c6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vendor/wheels/tests/plugins/runner.cfc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ component extends="wheels.tests.Test" {
2828
PluginObj = $pluginObj(config);
2929
previousMixins = Duplicate(application.wheels.mixins);
3030
application.wheels.mixins = PluginObj.getMixins();
31+
_originalViewPath = get("viewPath");
3132
set(viewPath = "/wheels/tests/_assets/views");
3233
c = controller("test", _params);
3334
m = model("authors").new();
3435
d = $createObjectFromRoot(path = "wheels", fileName = "Dispatch", method = "$init");
3536
}
3637

3738
function teardown() {
38-
set(viewPath = "views");
39+
set(viewPath = _originalViewPath);
3940
application.wheels.mixins = previousMixins;
4041
}
4142

0 commit comments

Comments
 (0)