-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bugfix] Set 'discoverable' properly on API accounts (#1511)
- Loading branch information
1 parent
6ee0dc8
commit b599309
Showing
10 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,6 +168,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -206,6 +207,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "1happyturtle", | ||
"display_name": "happy little turtle :3", | ||
"locked": true, | ||
"discoverable": false, | ||
"bot": false, | ||
"created_at": "2022-06-04T13:12:00.000Z", | ||
"note": "\u003cp\u003ei post about things that concern me\u003c/p\u003e", | ||
|
@@ -246,6 +248,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "admin", | ||
"display_name": "", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2022-05-17T13:10:59.000Z", | ||
"note": "", | ||
|
@@ -287,6 +290,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "admin", | ||
"display_name": "", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2022-05-17T13:10:59.000Z", | ||
"note": "", | ||
|
@@ -341,6 +345,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "1happyturtle", | ||
"display_name": "happy little turtle :3", | ||
"locked": true, | ||
"discoverable": false, | ||
"bot": false, | ||
"created_at": "2022-06-04T13:12:00.000Z", | ||
"note": "\u003cp\u003ei post about things that concern me\u003c/p\u003e", | ||
|
@@ -381,6 +386,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -427,6 +433,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet1() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -533,6 +540,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet2() { | |
"acct": "1happyturtle", | ||
"display_name": "happy little turtle :3", | ||
"locked": true, | ||
"discoverable": false, | ||
"bot": false, | ||
"created_at": "2022-06-04T13:12:00.000Z", | ||
"note": "\u003cp\u003ei post about things that concern me\u003c/p\u003e", | ||
|
@@ -573,6 +581,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet2() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -619,6 +628,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet2() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -725,6 +735,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet3() { | |
"acct": "1happyturtle", | ||
"display_name": "happy little turtle :3", | ||
"locked": true, | ||
"discoverable": false, | ||
"bot": false, | ||
"created_at": "2022-06-04T13:12:00.000Z", | ||
"note": "\u003cp\u003ei post about things that concern me\u003c/p\u003e", | ||
|
@@ -765,6 +776,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet3() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -811,6 +823,7 @@ func (suite *ReportsGetTestSuite) TestReportsGet3() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,7 @@ func (suite *GetTestSuite) TestGet() { | |
"acct": "[email protected]", | ||
"display_name": "some user", | ||
"locked": true, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2020-08-10T12:13:28.000Z", | ||
"note": "i'm a real son of a gun", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,7 @@ func (suite *ReportGetTestSuite) TestGetReport1() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,6 +140,7 @@ func (suite *ReportsGetTestSuite) TestGetReports() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -226,6 +227,7 @@ func (suite *ReportsGetTestSuite) TestGetReports4() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -296,6 +298,7 @@ func (suite *ReportsGetTestSuite) TestGetReports6() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
@@ -350,6 +353,7 @@ func (suite *ReportsGetTestSuite) TestGetReports7() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,7 @@ func (suite *NotificationTestSuite) TestStreamNotification() { | |
"acct": "[email protected]", | ||
"display_name": "big gerald", | ||
"locked": false, | ||
"discoverable": true, | ||
"bot": false, | ||
"created_at": "2021-09-26T10:52:36.000Z", | ||
"note": "i post about like, i dunno, stuff, or whatever!!!!", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.