test(storage-local): add a proper test on delete operation

This commit is contained in:
tchiotludo
2020-09-17 10:51:54 +02:00
parent 0fb38b78d6
commit 716df081f9
2 changed files with 4 additions and 5 deletions

View File

@@ -63,10 +63,10 @@ class LocalStorageTest {
is(CharStreams.toString(new InputStreamReader(new FileInputStream(Objects.requireNonNull(resource).getFile()))))
);
boolean delete = storageInterface.delete(new URI("/file/storage/put.yml"));
boolean delete = storageInterface.delete(put);
assertThat(delete, is(true));
delete = storageInterface.delete(new URI("/file/storage/put.yml"));
delete = storageInterface.delete(put);
assertThat(delete, is(false));
assertThrows(FileNotFoundException.class, () -> {

View File

@@ -37,7 +37,6 @@ $vs-state-active-bg: $primary;
.vs__selected {
max-width: 100%;
white-space: nowrap;
line-height: $input-line-height;
color: $input-color;
overflow: hidden;
text-overflow: ellipsis;
@@ -45,7 +44,7 @@ $vs-state-active-bg: $primary;
}
.vs__dropdown-toggle {
padding: 1px 0 5px 0;
padding: 2px 0 5px 0;
}
.vs__dropdown-option {
@@ -104,7 +103,7 @@ pre[class*="language-"] {
.form-group {
.input-group {
> * {
> div.v-select {
padding-left: 0;
}