Update error messages & codes

This commit is contained in:
Vyr Cossont 2025-01-26 08:41:25 -08:00
commit 488f2f821e
2 changed files with 6 additions and 6 deletions

View file

@ -368,7 +368,7 @@ func (suite *StatusCreateTestSuite) TestPostNewStatusMessedUpIntPolicy() {
}`, out)
}
func (suite *StatusCreateTestSuite) TestPostNewScheduledStatus() {
func (suite *StatusCreateTestSuite) TestPostNewFutureScheduledStatus() {
out, recorder := suite.postStatus(map[string][]string{
"status": {"this is a brand new status! #helloworld"},
"spoiler_text": {"hello hello"},
@ -383,7 +383,7 @@ func (suite *StatusCreateTestSuite) TestPostNewScheduledStatus() {
// We should have a helpful error message.
suite.Equal(`{
"error": "Not Implemented: scheduled_at is not yet implemented"
"error": "Not Implemented: scheduled statuses are not yet supported"
}`, out)
}