Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
check string in body
  • Loading branch information
f0ssel committed Apr 9, 2024
commit 3c9790e510cb3166a1298efef45258fba6532bfd
5 changes: 5 additions & 0 deletions coderd/workspaceapps/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,11 @@ func Test_ResolveRequest(t *testing.T) {
})
// should parse as app and fail to find app "9090ss"
require.False(t, ok)
w := rw.Result()
_ = w.Body.Close()
b, err := io.ReadAll(w.Body)
require.NoError(t, err)
require.Contains(t, string(b), "404 - Application Not Found")
})

t.Run("SubdomainEndsInS", func(t *testing.T) {
Expand Down