Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Aug 23, 2022
1 parent 332956e commit dd54d69
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,15 @@
import java.util.ArrayList;
import java.util.List;

import com.commercetools.api.client.ByProjectKeyProductProjectionsGet;
import com.commercetools.api.client.ProjectApiRoot;
import com.commercetools.api.models.common.LocalizedString;
import com.commercetools.api.models.graph_ql.GraphQLRequest;
import com.commercetools.api.models.product.*;
import commercetools.utils.CommercetoolsTestUtils;

import io.vrap.rmf.base.client.ApiHttpRequest;
import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

import javax.money.CurrencyUnit;

public class ProductIntegrationTests {

@Test
Expand Down Expand Up @@ -77,7 +72,7 @@ public void getBySKU() {
.productProjections()
.get()
.withWhere("masterVariant(sku in :sku) or variants(sku in :sku)", "sku",
product.getMasterData().getCurrent().getMasterVariant().getSku())
product.getMasterData().getCurrent().getMasterVariant().getSku())
.withLimit(1)
.withStaged(true)
.executeBlocking()
Expand All @@ -92,7 +87,8 @@ public void getBySKU() {
.productProjections()
.search()
.get()
.withFilterQuery("variants.sku:\"" + product.getMasterData().getCurrent().getMasterVariant().getSku() + "\"")
.withFilterQuery(
"variants.sku:\"" + product.getMasterData().getCurrent().getMasterVariant().getSku() + "\"")
.withLimit(1)
.withStaged(true)
.executeBlocking()
Expand Down

0 comments on commit dd54d69

Please sign in to comment.