[bugfix] Fix occasional federatingdb test fail (#792)

This commit is contained in:
tobi 2022-09-01 13:20:22 +02:00 committed by GitHub
parent ecb97f4e0b
commit 39d98881b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1603,8 +1603,8 @@ func NewTestFollows() map[string]*gtsmodel.Follow {
return map[string]*gtsmodel.Follow{ return map[string]*gtsmodel.Follow{
"local_account_1_admin_account": { "local_account_1_admin_account": {
ID: "01F8PY8RHWRQZV038T4E8T9YK8", ID: "01F8PY8RHWRQZV038T4E8T9YK8",
CreatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), CreatedAt: TimeMustParse("2022-05-14T16:21:09+02:00"),
UpdatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), UpdatedAt: TimeMustParse("2022-05-14T16:21:09+02:00"),
AccountID: "01F8MH1H7YV1Z7D2C8K2730QBF", AccountID: "01F8MH1H7YV1Z7D2C8K2730QBF",
TargetAccountID: "01F8MH17FWEB39HZJ76B6VXSKF", TargetAccountID: "01F8MH17FWEB39HZJ76B6VXSKF",
ShowReblogs: TrueBool(), ShowReblogs: TrueBool(),
@ -1613,8 +1613,8 @@ func NewTestFollows() map[string]*gtsmodel.Follow {
}, },
"local_account_1_local_account_2": { "local_account_1_local_account_2": {
ID: "01F8PYDCE8XE23GRE5DPZJDZDP", ID: "01F8PYDCE8XE23GRE5DPZJDZDP",
CreatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), CreatedAt: TimeMustParse("2022-05-14T15:21:09+02:00"),
UpdatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), UpdatedAt: TimeMustParse("2022-05-14T15:21:09+02:00"),
AccountID: "01F8MH1H7YV1Z7D2C8K2730QBF", AccountID: "01F8MH1H7YV1Z7D2C8K2730QBF",
TargetAccountID: "01F8MH5NBDF2MV7CTC4Q5128HF", TargetAccountID: "01F8MH5NBDF2MV7CTC4Q5128HF",
ShowReblogs: TrueBool(), ShowReblogs: TrueBool(),
@ -1623,8 +1623,8 @@ func NewTestFollows() map[string]*gtsmodel.Follow {
}, },
"local_account_2_local_account_1": { "local_account_2_local_account_1": {
ID: "01G1TK1RS4K3E0MSFTXBFWAH9Q", ID: "01G1TK1RS4K3E0MSFTXBFWAH9Q",
CreatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), CreatedAt: TimeMustParse("2022-05-14T14:21:09+02:00"),
UpdatedAt: TimeMustParse("2022-05-14T13:21:09+02:00"), UpdatedAt: TimeMustParse("2022-05-14T14:21:09+02:00"),
AccountID: "01F8MH5NBDF2MV7CTC4Q5128HF", AccountID: "01F8MH5NBDF2MV7CTC4Q5128HF",
TargetAccountID: "01F8MH1H7YV1Z7D2C8K2730QBF", TargetAccountID: "01F8MH1H7YV1Z7D2C8K2730QBF",
ShowReblogs: TrueBool(), ShowReblogs: TrueBool(),