Skip to content

Commit

Permalink
Remove Some Debug Logic :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Moening committed Sep 4, 2019
1 parent e231691 commit 67bd00a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions YNAB.SDK.Tests/YNAB_BudgetsShould.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<YNAB.SDK.Client.ApiException>(() => {
ynabApi.Budgets.GetBudgets();
Expand Down

0 comments on commit 67bd00a

Please sign in to comment.