Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechZankowski committed May 1, 2021
1 parent ed98332 commit 835bb26
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: Main workflow
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: 0 0 * * *

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package pl.zankowski.iextrading4j.test.acceptance;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import pl.zankowski.iextrading4j.api.stocks.Book;
import pl.zankowski.iextrading4j.api.stocks.EffectiveSpread;
Expand All @@ -26,6 +27,7 @@
* @deprecated Old IEX API service https://iextrading.com/developer/
*/
@Deprecated
@Disabled("403 Forbidden")
public class StocksAcceptanceTest extends AcceptanceTestBase {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package pl.zankowski.iextrading4j.test.acceptance.v1;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import pl.zankowski.iextrading4j.api.forex.CurrencyConversion;
import pl.zankowski.iextrading4j.api.forex.CurrencyRate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ public class IEXCloudV1AcceptanceTestBase {
protected IEXCloudClient cloudClient;

@BeforeEach
public void setUp() {
cloudClient = IEXTradingClient.create(IEXTradingApiVersion.IEX_CLOUD_V1_SANDBOX, new IEXCloudTokenBuilder()
public void setUp() throws InterruptedException {
cloudClient = IEXTradingClient.create(IEXTradingApiVersion.IEX_CLOUD_STABLE_SANDBOX, new IEXCloudTokenBuilder()
.withPublishableToken("Tpk_18dfe6cebb4f41ffb219b9680f9acaf2")
.build());
Thread.sleep(50);
}

@AfterEach
Expand Down

0 comments on commit 835bb26

Please sign in to comment.