Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas Rekkas (arekkas) committed May 18, 2016
1 parent 3faf695 commit c8d07ab
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmd/cli/handler_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package cli

import (
"github.com/ory-am/hydra/config"
"testing"
)

func TestNewHandler(t *testing.T) {
_ = NewHandler(&config.Config{})
}
13 changes: 13 additions & 0 deletions cmd/server/handler_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package server

import (
"github.com/julienschmidt/httprouter"
"github.com/ory-am/hydra/config"
"testing"
)

func TestStart(t *testing.T) {
router := httprouter.New()
h := &Handler{}
h.Start(&config.Config{}, router)
}

0 comments on commit c8d07ab

Please sign in to comment.