mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-24 17:26:15 -06:00
Update error messages & codes
This commit is contained in:
parent
f97c6d6f1e
commit
488f2f821e
2 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue