Skip to content

Commit

Permalink
Resolve tests by replacing nil slice (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored Oct 21, 2017
1 parent 02e88be commit 971d020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rule/handler_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package rule

import (
"net/http"
"net/http/httptest"
"testing"

"net/http"

"github.com/julienschmidt/httprouter"
"github.com/ory/herodot"
"github.com/ory/oathkeeper/sdk/swagger"
Expand Down Expand Up @@ -37,6 +36,7 @@ func TestHandler(t *testing.T) {
Description: "Get users rule",
MatchesPath: "/users/([0-9]+)",
MatchesMethods: []string{"GET"},
RequiredScopes: []string{},
AllowAnonymous: true,
BypassAuthorization: true,
BypassAccessControlPolicies: true,
Expand Down

0 comments on commit 971d020

Please sign in to comment.