Skip to content

Commit

Permalink
fix default test
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <[email protected]>
  • Loading branch information
pavolloffay committed Oct 28, 2017
1 parent 5685162 commit cfa2376
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/query/app/static_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ func TestStaticAssetsHandler(t *testing.T) {
}

func TestDefaultStaticAssetsRoot(t *testing.T) {
_, err := NewStaticAssetsHandler("", "")
assert.EqualError(t, err, "Cannot read UI static assets: open jaeger-ui-build/build/index.html: no such file or directory")
handler, err := NewStaticAssetsHandler("", "")
assert.Nil(t, handler)
assert.Nil(t, err)
}

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

0 comments on commit cfa2376

Please sign in to comment.