Skip to content

Commit

Permalink
Merge branch 'main' into add-api-errors-standardized-model
Browse files Browse the repository at this point in the history
  • Loading branch information
nieomylnieja authored Oct 14, 2024
2 parents 9e69684 + 74162d8 commit eec7315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"private": true,
"type": "module",
"devDependencies": {
"cspell": "8.14.4",
"cspell": "8.15.1",
"markdownlint-cli": "0.41.0",
"yaml": "2.5.1"
"yaml": "2.6.0"
},
"scripts": {
"check-trailing-whitespaces": "node ./scripts/check-trailing-whitespaces.js",
Expand Down
8 changes: 2 additions & 6 deletions tests/slostatusapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ func Test_SLOStatusAPI_V1_GetSLOs(t *testing.T) {
assert.NotEmpty(t, secondResponse)
assert.NotEmpty(t, secondResponse.Links.Self, "expected second response's self link to be set")
assert.NotEmpty(t, secondResponse.Links.Next, "expected second response's next link to be set")
secondCursor := secondResponse.Links.Cursor
require.NotEmpty(t, secondCursor)
assert.NotEqual(t, firstCursor, secondCursor)
require.NotEmpty(t, secondResponse.Links.Cursor)
assert.NotEqual(t, firstResponse, secondResponse)
}

Expand Down Expand Up @@ -175,9 +173,7 @@ func Test_SLOStatusAPI_V2_GetSLOs(t *testing.T) {
assert.NotEmpty(t, secondResponse)
assert.NotEmpty(t, secondResponse.Links.Self, "expected second response's self link to be set")
assert.NotEmpty(t, secondResponse.Links.Next, "expected second response's next link to be set")
secondCursor := secondResponse.Links.Cursor
require.NotEmpty(t, secondCursor)
assert.NotEqual(t, firstCursor, secondCursor)
require.NotEmpty(t, secondResponse.Links.Cursor)
assert.NotEqual(t, firstResponse, secondResponse)
}

Expand Down

0 comments on commit eec7315

Please sign in to comment.