diff --git a/config/development.js b/config/development.js index 0a526e3..a3f85a7 100644 --- a/config/development.js +++ b/config/development.js @@ -17,6 +17,6 @@ module.exports = { priceHour: 1, delayInMiliSeconds: 10000, bountyLabels: BOUNTY_LABELS, - githubUsername: '', + githubUsername: 'status-open-bounty', } diff --git a/test/test_bot.js b/test/test_bot.js index 9d5bc33..af2b57e 100644 --- a/test/test_bot.js +++ b/test/test_bot.js @@ -14,7 +14,7 @@ let requests = [ { body: { action: 'created', comment: { body: 'Creating my first comment', user: { login: 'randomUser' } } } }, { body: { action: 'edited', comment: { body: 'Editing my comment', user: { login: 'RandomUser' } } } }, { body: { action: 'edited', comment: { body: sob_comment, user: { login: 'status-open-bounty' } } } }, - { body: { action: 'created', issue: { labels: ['bounty', 'bounty-s'] }, comment: { body: sob_comment, user: { login: 'jomsdev' } } } } + { body: { action: 'created', issue: { labels: ['bounty', 'bounty-s'] }, comment: { body: sob_comment, user: { login: 'status-open-bounty' } } } } ]; describe('Bot behavior', function () {