Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
remove obsolete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Mar 27, 2017
1 parent fb4e3f0 commit 8eaa8ed
Showing 1 changed file with 0 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,26 +165,6 @@ public async Task authorize_request_validation_produces_error_should_display_err
((AuthorizeResult)result).Response.IsError.Should().BeTrue();
}

[Fact(Skip = "bring back events in 1.1")]
[Trait("Category", Category)]
public async Task authorize_request_validation_produces_error_should_raise_failed_endpoint_event()
{
_stubAuthorizeRequestValidator.Result.IsError = true;
_stubAuthorizeRequestValidator.Result.Error = "some error";

var result = await _subject.ProcessAuthorizeRequestAsync(_params, _user, null);

// TODO: events
//var evt = _fakeEventService.AssertEventWasRaised<Event<EndpointDetail>>();
// TODO: events
//evt.EventType.Should().Be(EventTypes.Failure);
//evt.Id.Should().Be(EventConstants.Ids.EndpointFailure);
// TODO: events
//evt.Message.Should().Be("some error");
// TODO: events
//evt.Details.EndpointName.Should().Be(EventConstants.EndpointNames.Authorize);
}

[Fact]
[Trait("Category", Category)]
public async Task interaction_produces_error_should_show_error_page()
Expand All @@ -197,25 +177,6 @@ public async Task interaction_produces_error_should_show_error_page()
((AuthorizeResult)result).Response.IsError.Should().BeTrue();
}

[Fact(Skip = "bring back events in 1.1")]
[Trait("Category", Category)]
public async Task interaction_produces_error_should_raise_failed_endpoint_event()
{
_stubInteractionGenerator.Response.Error = "some_error";

var result = await _subject.ProcessAuthorizeRequestAsync(_params, _user, null);

// TODO: events
//var evt = _fakeEventService.AssertEventWasRaised<Event<EndpointDetail>>();
// TODO: events
//evt.EventType.Should().Be(EventTypes.Failure);
//evt.Id.Should().Be(EventConstants.Ids.EndpointFailure);
// TODO: events
//evt.Message.Should().Be("some_error");
// TODO: events
//evt.Details.EndpointName.Should().Be(EventConstants.EndpointNames.Authorize);
}

[Fact]
[Trait("Category", Category)]
public async Task interaction_produces_login_result_should_trigger_login()
Expand Down

0 comments on commit 8eaa8ed

Please sign in to comment.