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 {
124124 private ReporterFactory reporterFactory ;
125125 private ReporterManager reporterManager ;
126126
127- private ConnectionInfo getConnectionInfo () {
127+ ConnectionInfo getConnectionInfo () {
128128 return connectionInfoList .get (0 );
129129 }
130130
Original file line number Diff line number Diff line change @@ -85,4 +85,11 @@ void reporterOptions_TwoReporters() {
8585 assertTrue (reporterOptions2 .outputToScreen ());
8686 }
8787
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+ }
8895}
You can’t perform that action at this time.
0 commit comments