File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -429,9 +429,13 @@ public void Test_Oracle_ExecuteCommand_DCL_Queries()
429429 var result = dbContext . ExecuteCommand ( createUser ) ;
430430 Assert . AreEqual ( 0 , result ) ;
431431
432- //// Grant CONNECT to User
433- //result = dbContext.ExecuteCommand(grantConnect);
434- //Assert.AreEqual(-1, result);
432+ // Grant CONNECT to User
433+ result = dbContext . ExecuteCommand ( $ "GRANT CREATE TABLE TO { user } ") ;
434+ result = dbContext . ExecuteCommand ( $ "GRANT CREATE VIEW TO { user } ") ;
435+ result = dbContext . ExecuteCommand ( $ "GRANT CREATE SEQUENCE TO { user } ") ;
436+ result = dbContext . ExecuteCommand ( $ "GRANT CREATE SYNONYM TO { user } ") ;
437+ result = dbContext . ExecuteCommand ( $ "GRANT UNLIMITED TABLESPACE TO { user } ") ;
438+ Assert . AreEqual ( 0 , result ) ;
435439
436440 // Existing Permissions
437441 var data = dbContext . FetchData ( verifyPermissions ) ;
You can’t perform that action at this time.
0 commit comments