diff options
| author | 2025-03-03 16:03:36 +0100 | |
|---|---|---|
| committer | 2025-03-03 15:03:36 +0000 | |
| commit | 1b37944f8b8eccc2afcfb0f603786209a3b7402d (patch) | |
| tree | 2bc0be27cf0405e16ac3e14efc3b6973eb096b8b /internal/db/bundb/application_test.go | |
| parent | bumps go-ffmpreg to v0.6.6 (#3866) (diff) | |
| download | gotosocial-1b37944f8b8eccc2afcfb0f603786209a3b7402d.tar.xz | |
[feature] Refactor tokens, allow multiple app redirect_uris (#3849)
* [feature] Refactor tokens, allow multiple app redirect_uris
* move + tweak handlers a bit
* return error for unset oauth2.ClientStore funcs
* wrap UpdateToken with cache
* panic handling
* cheeky little time optimization
* unlock on error
Diffstat (limited to 'internal/db/bundb/application_test.go')
| -rw-r--r-- | internal/db/bundb/application_test.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/db/bundb/application_test.go b/internal/db/bundb/application_test.go index d03079f2a..b6b19319c 100644 --- a/internal/db/bundb/application_test.go +++ b/internal/db/bundb/application_test.go @@ -22,7 +22,6 @@ import ( "errors" "reflect" "testing" - "time" "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/db" @@ -45,12 +44,6 @@ func (suite *ApplicationTestSuite) TestGetApplicationBy() { // isEqual checks if 2 application models are equal. isEqual := func(a1, a2 gtsmodel.Application) bool { - // Clear database-set fields. - a1.CreatedAt = time.Time{} - a2.CreatedAt = time.Time{} - a1.UpdatedAt = time.Time{} - a2.UpdatedAt = time.Time{} - return reflect.DeepEqual(a1, a2) } |
