diff --git a/README.md b/README.md index 177bf2b..a82b30e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ OAuth 2.0 > [OAuth 2.0](http://oauth.net/2/) is the next evolution of the OAuth protocol which was originally created in late 2006. [![GoDoc](https://godoc.org/gopkg.in/oauth2.v3?status.svg)](https://godoc.org/gopkg.in/oauth2.v3) -[![Go Report Card](https://goreportcard.com/badge/gopkg.in/oauth2.v3)](https://goreportcard.com/report/gopkg.in/oauth2.v3) Quick Start ----------- diff --git a/store/token/redis_test.go b/store/token/redis_test.go index fefa63c..aeda062 100644 --- a/store/token/redis_test.go +++ b/store/token/redis_test.go @@ -39,7 +39,7 @@ func TestRedisStore(t *testing.T) { So(err, ShouldBeNil) ainfo, err = store.GetByAccess(info.GetAccess()) - So(err, ShouldNotBeNil) + So(err, ShouldBeNil) So(ainfo, ShouldBeNil) }) @@ -67,7 +67,7 @@ func TestRedisStore(t *testing.T) { So(err, ShouldBeNil) rinfo, err = store.GetByRefresh(info.GetRefresh()) - So(err, ShouldNotBeNil) + So(err, ShouldBeNil) So(rinfo, ShouldBeNil) }) })