mirror of
https://github.com/go-gitea/gitea
synced 2025-08-09 19:18:20 +00:00
Unit tests for token and update models
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
c0904f1942
commit
de8b73dd92
23
models/fixtures/access_token.yml
Normal file
23
models/fixtures/access_token.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
-
|
||||
id: 1
|
||||
uid: 1
|
||||
name: Token A
|
||||
sha1: hash1
|
||||
created_unix: 946687980
|
||||
updated_unix: 946687980
|
||||
|
||||
-
|
||||
id: 2
|
||||
uid: 1
|
||||
name: Token B
|
||||
sha1: hash2
|
||||
created_unix: 946687980
|
||||
updated_unix: 946687980
|
||||
|
||||
-
|
||||
id: 3
|
||||
uid: 2
|
||||
name: Token A
|
||||
sha1: hash3
|
||||
created_unix: 946687980
|
||||
updated_unix: 946687980
|
Reference in New Issue
Block a user