mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-05 04:55:50 +01:00
fix code smell
This commit is contained in:
@@ -173,8 +173,9 @@ class PublicKeyStoreTest {
|
||||
void shouldReturnEmptyListIfNoKeysAvailable() {
|
||||
List<RawGpgKey> keys = keyStore.findByUsername("zaphod");
|
||||
|
||||
assertThat(keys).isEmpty();
|
||||
assertThat(keys).isInstanceOf(List.class);
|
||||
assertThat(keys)
|
||||
.isInstanceOf(List.class)
|
||||
.isEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user