Skip to content

Commit

Permalink
update stack and integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkilcommins committed Mar 11, 2024
1 parent dcdb809 commit c11468e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline-hardened.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
PIPELINE_USER_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
PIPELINE_USER_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SAM_TEMPLATE: books-api/template.yaml
STACK_NAME: books-api-dev
STACK_NAME: books-api-hardened
PIPELINE_EXECUTION_ROLE: ${{ vars.PIPELINE_EXECUTION_ROLE }}
CLOUDFORMATION_EXECUTION_ROLE: ${{ vars.CLOUDFORMATION_EXECUTION_ROLE }}
ARTIFACTS_BUCKET: ${{ vars.ARTIFACTS_BUCKET }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class IntegrationTests : IClassFixture<Setup>
[Fact]
public async void GetBooks_ShouldReturnOk()
{

_httpClient.DefaultRequestHeaders.Add("X-Api-Key", "91e69fe1-fefd-4b2d-b689-032fb0947d10");
var getBooksResponse = await this._httpClient.GetAsync($"{Setup.ApiUrl}/books");

Assert.Equal(HttpStatusCode.OK, getBooksResponse.StatusCode);
Expand Down

0 comments on commit c11468e

Please sign in to comment.