diff --git a/test/functions/GetUserRoles.cfc b/test/functions/GetUserRoles.cfc new file mode 100644 index 0000000000..a302abb3c1 --- /dev/null +++ b/test/functions/GetUserRoles.cfc @@ -0,0 +1,15 @@ +component extends="org.lucee.cfml.test.LuceeTestCase" { + + function run( testResults, testBox ) { + describe( title = "Testcase for getUserRoles() function", body = function() { + it( title = "Checking getUserRoles() function", body = function( currentSpec ) { + ``` + + + + ``` + expect(getUserRoles()).toBe("user,admin,editor"); + }); + }); + } +} \ No newline at end of file