File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
main/java/org/utplsql/cli
test/java/org/utplsql/cli Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public class RunCommand implements ICommand {
124
124
private ReporterFactory reporterFactory ;
125
125
private ReporterManager reporterManager ;
126
126
127
- private ConnectionInfo getConnectionInfo () {
127
+ ConnectionInfo getConnectionInfo () {
128
128
return connectionInfoList .get (0 );
129
129
}
130
130
Original file line number Diff line number Diff line change @@ -85,4 +85,11 @@ void reporterOptions_TwoReporters() {
85
85
assertTrue (reporterOptions2 .outputToScreen ());
86
86
}
87
87
88
+ @ Test
89
+ void connectionString_asSysdba () {
90
+ RunCommand runCmd = TestHelper .createRunCommand ("sys as sysdba/mypass@connectstring/service" );
91
+
92
+ assertEquals ("sys as sysdba/mypass@connectstring/service" ,
93
+ runCmd .getConnectionInfo ().getConnectionString ());
94
+ }
88
95
}
You can’t perform that action at this time.
0 commit comments