diff --git a/YNAB.SDK.Tests/YNAB_BudgetsShould.cs b/YNAB.SDK.Tests/YNAB_BudgetsShould.cs index 221667c..6459526 100644 --- a/YNAB.SDK.Tests/YNAB_BudgetsShould.cs +++ b/YNAB.SDK.Tests/YNAB_BudgetsShould.cs @@ -17,13 +17,9 @@ public YNAB_BudgetsShould() { } public async Task Budgets_FailWithBadAccessTokens() { // Arrange var badToken = "INVALID_TOKEN"; - var goodToken = Environment.GetEnvironmentVariable("YNAB_TEST_TOKEN"); - var ynabApi = new YNAB.SDK.API(goodToken); + var ynabApi = new YNAB.SDK.API(badToken); // Act - var ct = new YNAB.SDK.Examples.CreateTransaction(ynabApi); - ct.Execute(); - //await ct.ExecuteAsync(); // Assert Assert.Throws(() => { ynabApi.Budgets.GetBudgets();