File tree Expand file tree Collapse file tree
src/test-integration/java/com/bettercloud/vault/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ public void testRead() throws VaultException {
144144
145145 assertEquals (200 , response .getRestResponse ().getStatus ());
146146
147- assertEquals (new Integer (21600 ), config .getDefaultLeaseTtl ());
148- assertEquals (new Integer (21600 ), config .getMaxLeaseTtl ());
147+ assertEquals (Integer . valueOf (21600 ), config .getDefaultLeaseTtl ());
148+ assertEquals (Integer . valueOf (21600 ), config .getMaxLeaseTtl ());
149149 }
150150
151151 @ Test
@@ -180,8 +180,8 @@ public void testTune() throws VaultException {
180180 final Mount mount = response .getMount ();
181181 final MountConfig config = mount .getConfig ();
182182
183- assertEquals (new Integer (43200 ), config .getDefaultLeaseTtl ());
184- assertEquals (new Integer (43200 ), config .getMaxLeaseTtl ());
183+ assertEquals (Integer . valueOf (43200 ), config .getDefaultLeaseTtl ());
184+ assertEquals (Integer . valueOf (43200 ), config .getMaxLeaseTtl ());
185185 }
186186
187187 @ Test
You can’t perform that action at this time.
0 commit comments