From 67bd00ac8806043c736ea0c481d6ad8a2ef95448 Mon Sep 17 00:00:00 2001 From: Jake Moening Date: Wed, 4 Sep 2019 11:24:08 -0500 Subject: [PATCH] Remove Some Debug Logic :/ --- YNAB.SDK.Tests/YNAB_BudgetsShould.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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();