Fix test error again

pull/172/head
johnniang 2019-05-30 23:48:19 +08:00
parent 78d7f17a1b
commit 9aba7ca37c
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class OptionServiceImplTest {
} }
private void getQiniuZoneTest(Zone actualZone, Option option) { private void getQiniuZoneTest(Zone actualZone, Option option) {
QnYunProperties zoneProperty = QnYunProperties.ZONE; QnYunProperties zoneProperty = QnYunProperties.OSS_ZONE;
// Given // Given
// given(optionRepository.findByKey(zoneProperty.getValue())).willReturn(Optional.ofNullable(option)); // given(optionRepository.findByKey(zoneProperty.getValue())).willReturn(Optional.ofNullable(option));