File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
src/test/java/com/rabbitmq/stream/impl Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -132,18 +132,7 @@ void updateSecretShouldSucceedWithNewCorrectPassword() {
132132 try {
133133 addUser (username , password );
134134 setPermissions (username , "/" , "^stream.*$" );
135- Client client =
136- cf .get (
137- new Client .ClientParameters ()
138- .username ("stream" )
139- .password (username )
140- .shutdownListener (
141- new Client .ShutdownListener () {
142- @ Override
143- public void handle (Client .ShutdownContext context ) {
144- System .out .println ("shutdown" );
145- }
146- }));
135+ Client client = cf .get (new Client .ClientParameters ().username ("stream" ).password (username ));
147136 changePassword (username , newPassword );
148137 // OK
149138 client .authenticate (credentialsProvider (username , newPassword ));
You can’t perform that action at this time.
0 commit comments