Skip to content

Commit

Permalink
fix itest by adding global property for seller division
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaskhilkevich committed Jun 7, 2024
1 parent 6259d29 commit e71861d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void setUp() throws Exception {
final Clock clock = new DefaultClock();

pluginProperties = new LinkedList<>();
pluginProperties.add(new PluginProperty(VertexConfigProperties.VERTEX_OSERIES_COMPANY_DIVISION_PROPERTY, "328", false));
pluginProperties.add(new PluginProperty(String.format("%s", VertexTaxCalculator.SELLER_DIVISION), "328", false));
pluginProperties.add(new PluginProperty(VertexConfigProperties.VERTEX_OSERIES_COMPANY_NAME_PROPERTY, "Kill Bill Parent", false));

account = TestUtils.buildAccount(Currency.USD, "45 Fremont Street", null, "San Francisco", "CA", "94105", "US");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ public void setUp() throws Exception {
final VertexApiConfigurationHandler vertexApiConfigurationHandler = new VertexApiConfigurationHandler(VertexActivator.PLUGIN_NAME, osgiKillbillAPI);
vertexApiConfigurationHandler.setDefaultConfigurable(vertexApiClient);

pluginProperties.add(new PluginProperty(String.format("%s", VertexTaxCalculator.SELLER_DIVISION), "328", false));

calculator = new VertexTaxCalculator(vertexApiConfigurationHandler, dao, clock, osgiKillbillAPI);
}

Expand Down

0 comments on commit e71861d

Please sign in to comment.