Skip to content

Commit

Permalink
Passing MSSQL tests for initial_connection_info
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanusz-r7 committed Feb 12, 2024
1 parent c40e2df commit 4c0bee1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@
console.disable_output = true
console
end
let(:initial_connection_info) do
{
envs: [
{ type: 1, old: 'old_db', new: 'new_db' }
]
}
end

before(:each) do
allow(client).to receive(:sock).and_return(rstream)
allow(client).to receive(:initial_connection_info).and_return(initial_connection_info)
allow(rstream).to receive(:peerinfo).and_return(peer_info)
allow(session).to receive(:client).and_return(client)
allow(session).to receive(:console).and_return(console)
Expand Down

0 comments on commit 4c0bee1

Please sign in to comment.