Commit 03d7c367 authored by Anastasiia Gelmut's avatar Anastasiia Gelmut
Browse files

GONRG-1599 Partition update unit test fixed.

parent d34a06ed
......@@ -109,8 +109,6 @@ public class PartitionServiceImplTest {
.thenReturn(this.partitionPropertyEntityList);
when(this.partitionPropertyEntityRepository.findByPartitionIdAndName(PARTITION_ID, NAME))
.thenReturn(null);
when(this.partitionPropertyEntityRepository.save(this.partitionPropertyEntity))
.thenReturn(this.partitionPropertyEntity);
PartitionInfo actualPartitionInfo = this.partitionServiceImpl
.updatePartition(PARTITION_ID, this.expectedPartitionInfo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment