Skip to content

Commit 999b46b

Browse files
committed
cbauth validator tests
1 parent 462f44e commit 999b46b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-harness/tests/specs/integration/SecuritySpec.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ component
152152

153153
given( "A secured annotated handler and an annotated action and a valid access", function(){
154154
then( "it should allow access", function(){
155-
prepareMock( getInstance( "CFValidator@cbSecurity" ) ).$(
155+
prepareMock( getInstance( "CBAuthValidator@cbSecurity" ) ).$(
156156
"annotationValidator",
157157
{ allow : true, type : "authentication" }
158158
);
@@ -163,7 +163,7 @@ component
163163

164164
given( "A secured annotated handler and an annotated action with invalid auth", function(){
165165
then( "it should allow access to handler but not to action", function(){
166-
prepareMock( getInstance( "CFValidator@cbSecurity" ) )
166+
prepareMock( getInstance( "CBAuthValidator@cbSecurity" ) )
167167
.$( "annotationValidator" )
168168
.$results(
169169
{ allow : true, type : "authentication" },

0 commit comments

Comments
 (0)