[GitHub] Move to 'funding' category (#5846)
* [GitHub] Move GitHub Sponsors to 'funding' category * Switch GitHub Sponsors category to funding in tests Co-authored-by: Pierre-Yves B <PyvesDev@gmail.com> Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -64,7 +64,7 @@ describe('Main page', function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('Do not duplicate example parameters', function () {
|
it('Do not duplicate example parameters', function () {
|
||||||
cy.visit('/category/social')
|
cy.visit('/category/funding')
|
||||||
|
|
||||||
cy.contains('GitHub Sponsors').click()
|
cy.contains('GitHub Sponsors').click()
|
||||||
cy.get('[name="style"]').should($style => {
|
cy.get('[name="style"]').should($style => {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ const schema = Joi.object({
|
|||||||
}).required()
|
}).required()
|
||||||
|
|
||||||
module.exports = class GithubSponsors extends GithubAuthV4Service {
|
module.exports = class GithubSponsors extends GithubAuthV4Service {
|
||||||
static category = 'social'
|
static category = 'funding'
|
||||||
static route = { base: 'github/sponsors', pattern: ':user' }
|
static route = { base: 'github/sponsors', pattern: ':user' }
|
||||||
static examples = [
|
static examples = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user