Skip to content

Commit fa2b7e5

Browse files
committed
Fix unit tests
1 parent c732fed commit fa2b7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/msf/base/sessions/ldap_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
RSpec.describe Msf::Sessions::LDAP do
66
let(:client) { instance_double(Rex::Proto::LDAP::Client) }
7-
let(:opts) { { client: client } }
7+
let(:opts) { { client: client, keepalive_seconds: 600 } }
88
let(:console_class) { Rex::Post::LDAP::Ui::Console }
99
let(:user_input) { instance_double(Rex::Ui::Text::Input::Readline) }
1010
let(:user_output) { instance_double(Rex::Ui::Text::Output::Stdio) }

0 commit comments

Comments
 (0)