Skip to content

Commit

Permalink
TT-13391, test is outdated as our new get context function accounts f…
Browse files Browse the repository at this point in the history
…or nil values
  • Loading branch information
andrei-tyk committed Nov 5, 2024
1 parent 9f4fa71 commit 015f7d2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gateway/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1936,12 +1936,6 @@ func TestContextData(t *testing.T) {
if ctxGetData(r) == nil {
t.Fatal("expected ctxGetData to return non-nil")
}
defer func() {
if r := recover(); r == nil {
t.Fatal("expected ctxSetData of zero val to panic")
}
}()
ctxSetData(r, nil)
}

func TestContextSession(t *testing.T) {
Expand Down

0 comments on commit 015f7d2

Please sign in to comment.