diff options
author | 2025-02-12 09:49:33 -0800 | |
---|---|---|
committer | 2025-02-12 09:49:33 -0800 | |
commit | fccb0bc102f2a54a21eed343cda64f9a5221b677 (patch) | |
tree | b7c1858f4a92841dfaf59e7102189a635d7136f8 /internal/federation/dereferencing/instance_test.go | |
parent | [performance] improved enum migrations (#3782) (diff) | |
download | gotosocial-fccb0bc102f2a54a21eed343cda64f9a5221b677.tar.xz |
[feature] Implement backfilling statuses thru scheduled_at (#3685)
* Implement backfilling statuses thru scheduled_at
* Forbid mentioning others in backfills
* Update error messages & codes
* Add new tests for backfilled statuses
* Test that backfilling doesn't timeline or notify
* Fix check for absence of notification
* Test that backfills do not cause federation
* Fix type of apimodel.StatusCreateRequest.ScheduledAt in tests
* Add config file switch and min date check
Diffstat (limited to 'internal/federation/dereferencing/instance_test.go')
-rw-r--r-- | internal/federation/dereferencing/instance_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/federation/dereferencing/instance_test.go b/internal/federation/dereferencing/instance_test.go index 15f075479..c07490d4b 100644 --- a/internal/federation/dereferencing/instance_test.go +++ b/internal/federation/dereferencing/instance_test.go @@ -50,7 +50,7 @@ func (suite *InstanceTestSuite) TestDerefInstance() { // // Debug-level logs should show something like: // - // - "can't fetch /nodeinfo/2.1: robots.txt disallows it" + // - "can't fetch /nodeinfo/2.1: robots.txt disallows it" instanceIRI: testrig.URLMustParse("https://furtive-nerds.example.org"), expectedSoftware: "", }, @@ -60,7 +60,7 @@ func (suite *InstanceTestSuite) TestDerefInstance() { // // Debug-level logs should show something like: // - // - "can't fetch api/v1/instance: robots.txt disallows it" + // - "can't fetch api/v1/instance: robots.txt disallows it" // - "can't fetch .well-known/nodeinfo: robots.txt disallows it" instanceIRI: testrig.URLMustParse("https://robotic.furtive-nerds.example.org"), expectedSoftware: "", @@ -71,7 +71,7 @@ func (suite *InstanceTestSuite) TestDerefInstance() { // // Debug-level logs should show something like: // - // - "can't use fetched .well-known/nodeinfo: robots tags disallows it" + // - "can't use fetched .well-known/nodeinfo: robots tags disallows it" instanceIRI: testrig.URLMustParse("https://really.furtive-nerds.example.org"), expectedSoftware: "", }, |