Browse Source

cache: CachedAttributesService tiny test refactor

pull/4832/head
Sergey Matvienko 5 years ago
parent
commit
6b622ce44b
  1. 2
      dao/src/test/java/org/thingsboard/server/dao/attributes/CachedAttributesServiceTest.java

2
dao/src/test/java/org/thingsboard/server/dao/attributes/CachedAttributesServiceTest.java

@ -42,8 +42,6 @@ public class CachedAttributesServiceTest {
assertThat(cachedAttributesService.getExecutor(null, cacheExecutorService), is(MoreExecutors.directExecutor()));
assertThat(cachedAttributesService.getExecutor((String) null, cacheExecutorService), is(MoreExecutors.directExecutor()));
assertThat(cachedAttributesService.getExecutor("", cacheExecutorService), is(MoreExecutors.directExecutor()));
assertThat(cachedAttributesService.getExecutor(CachedAttributesService.LOCAL_CACHE_TYPE, cacheExecutorService), is(MoreExecutors.directExecutor()));

Loading…
Cancel
Save