Skip to content

Commit c22d6a9

Browse files
authored
Merge pull request #9 from LyricTian/develop
Fixed redis store test
2 parents 9a2e5d0 + 0ade603 commit c22d6a9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ OAuth 2.0
33
> [OAuth 2.0](http://oauth.net/2/) is the next evolution of the OAuth protocol which was originally created in late 2006.
44
55
[![GoDoc](https://godoc.org/gopkg.in/oauth2.v3?status.svg)](https://godoc.org/gopkg.in/oauth2.v3)
6-
[![Go Report Card](https://goreportcard.com/badge/gopkg.in/oauth2.v3)](https://goreportcard.com/report/gopkg.in/oauth2.v3)
76

87
Quick Start
98
-----------

store/token/redis_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestRedisStore(t *testing.T) {
3939
So(err, ShouldBeNil)
4040

4141
ainfo, err = store.GetByAccess(info.GetAccess())
42-
So(err, ShouldNotBeNil)
42+
So(err, ShouldBeNil)
4343
So(ainfo, ShouldBeNil)
4444
})
4545

@@ -67,7 +67,7 @@ func TestRedisStore(t *testing.T) {
6767
So(err, ShouldBeNil)
6868

6969
rinfo, err = store.GetByRefresh(info.GetRefresh())
70-
So(err, ShouldNotBeNil)
70+
So(err, ShouldBeNil)
7171
So(rinfo, ShouldBeNil)
7272
})
7373
})

0 commit comments

Comments
 (0)