Skip to content

Commit

Permalink
Updated launchSettings.json to have the proper API name
Browse files Browse the repository at this point in the history
Reverted changes to meetings management tests - AppVeyor doesn't like them, I'll fight that on separate PR
  • Loading branch information
oskardudycz committed May 24, 2021
1 parent 45340a8 commit 10c4f3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public CreateMeetingTests(CreateMeetingFixture fixture)
}

[Fact]
[Trait("Category", "Exercise")]
public async Task CreateCommand_ShouldReturn_CreatedStatus_With_MeetingId()
{
var commandResponse = fixture.CommandResponse;
Expand All @@ -57,6 +58,7 @@ public async Task CreateCommand_ShouldReturn_CreatedStatus_With_MeetingId()
}

[Fact]
[Trait("Category", "Exercise")]
public void CreateCommand_ShouldPublish_MeetingCreateEvent()
{
// assert MeetingCreated event was produced to external bus
Expand All @@ -68,6 +70,7 @@ public void CreateCommand_ShouldPublish_MeetingCreateEvent()
}

[Fact]
[Trait("Category", "Exercise")]
public async Task CreateCommand_ShouldUpdateReadModel()
{
// prepare query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public ScheduleMeetingTests(ScheduleMeetingFixture fixture)
}

[Fact]
[Trait("Category", "Exercise")]
public async Task CreateMeeting_ShouldReturn_CreatedStatus_With_MeetingId()
{
var commandResponse = fixture.CreateMeetingCommandResponse.EnsureSuccessStatusCode();
Expand All @@ -63,6 +64,7 @@ public async Task CreateMeeting_ShouldReturn_CreatedStatus_With_MeetingId()
}

[Fact]
[Trait("Category", "Exercise")]
public async Task ScheduleMeeting_ShouldSucceed()
{
var commandResponse = fixture.ScheduleMeetingCommandResponse.EnsureSuccessStatusCode();
Expand All @@ -73,6 +75,7 @@ public async Task ScheduleMeeting_ShouldSucceed()
}

[Fact]
[Trait("Category", "Exercise")]
public async Task ScheduleMeeting_ShouldUpdateReadModel()
{
//send query
Expand Down
4 changes: 2 additions & 2 deletions Sample/Warehouse/Warehouse.Api/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"CashRegisters.Api": {
"Products.Api": {
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"launchUrl": "swagger",
"launchUrl": "api/products",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
Expand Down

0 comments on commit 10c4f3f

Please sign in to comment.