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 @@ -134,18 +134,7 @@ void updateSecretShouldSucceedWithNewCorrectPassword() {
134
134
try {
135
135
addUser (username , password );
136
136
setPermissions (username , "/" , "^stream.*$" );
137
- Client client =
138
- cf .get (
139
- new Client .ClientParameters ()
140
- .username ("stream" )
141
- .password (username )
142
- .shutdownListener (
143
- new Client .ShutdownListener () {
144
- @ Override
145
- public void handle (Client .ShutdownContext context ) {
146
- System .out .println ("shutdown" );
147
- }
148
- }));
137
+ Client client = cf .get (new Client .ClientParameters ().username ("stream" ).password (username ));
149
138
changePassword (username , newPassword );
150
139
// OK
151
140
client .authenticate (credentialsProvider (username , newPassword ));
You can’t perform that action at this time.
0 commit comments