Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Some CF7 compat fixes

  • Loading branch information...
commit b533e9b53615204ca479dd4391eeb7c52c2c971c 1 parent b704230
@marcesher marcesher authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/decorators/OrderedTestDecorator.cfc
View
4 framework/decorators/OrderedTestDecorator.cfc
@@ -5,13 +5,13 @@
var methods = getTarget().getRunnableMethods();
var i = 1;
var order = 0;
- var tests = [];
+ var tests = arrayNew(1);
var test = "";
var BubbleSort = createObject("Component","mxunit.utils.BubbleSort");
var sortedTests = arrayNew(1);
var returnArray = arrayNew(1);
- for(i = 1; i LTE arrayLen(methods); i++){
+ for(i = 1; i LTE arrayLen(methods); i = i + 1){
test = structNew();
test.order = getAnnotation(methods[i],"order");
test.name = methods[i];
Please sign in to comment.
Something went wrong with that request. Please try again.