Browse Source
Merge pull request #7569 from ShvaykaD/feature/check_tenant_entity_for_nodes
[3.4.2] Fix code formatting issue in TenantIdLoaderTest
pull/7549/head
Andrew Shvayka
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/util/TenantIdLoaderTest.java
|
|
|
@ -321,9 +321,9 @@ public class TenantIdLoaderTest { |
|
|
|
private void checkTenant(TenantId checkTenantId, boolean equals) { |
|
|
|
for (EntityType entityType : EntityType.values()) { |
|
|
|
EntityId entityId; |
|
|
|
if(EntityType.TENANT.equals(entityType)){ |
|
|
|
if (EntityType.TENANT.equals(entityType)) { |
|
|
|
entityId = tenantId; |
|
|
|
} else if(EntityType.TENANT_PROFILE.equals(entityType)){ |
|
|
|
} else if (EntityType.TENANT_PROFILE.equals(entityType)) { |
|
|
|
entityId = tenantProfileId; |
|
|
|
} else { |
|
|
|
entityId = getEntityId(entityType); |
|
|
|
|