Skip to content

Commit b215ca0

Browse files
lmajanogithub-actions[bot]
authored andcommitted
Apply cfformat changes
1 parent 5e1497b commit b215ca0

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

test-harness/tests/specs/ValidationManagerTest.cfc

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,16 @@ component extends="coldbox.system.testing.BaseTestCase" appMapping="/root" {
4949

5050
it( "can process rules with custom validators from a wirebox mapping", function(){
5151
var results = getInstance( "cbvalidation.models.result.ValidationResult" );
52-
var mockValidator = prepareMock( manager.getWirebox().getInstance( "tests.resources.MockValidator" ) ).$(
53-
"validate",
54-
true
55-
);
52+
var mockValidator = prepareMock(
53+
manager.getWirebox().getInstance( "tests.resources.MockValidator" )
54+
).$( "validate", true );
5655
var mockRule = { "tests.resources.MockValidator" : { customField : "hi" } };
5756
var mock = createStub().$( "getName", "luis" );
5857
manager.processRules(
59-
results : results,
60-
rules : mockRule,
61-
target : mock,
62-
field : "name"
58+
results: results,
59+
rules : mockRule,
60+
target : mock,
61+
field : "name"
6362
);
6463
assertTrue(
6564
mockValidator.$once( "validate" ),

0 commit comments

Comments
 (0)