Strider-CD / strider-github

Github provider for strider
25 stars 34 forks source link

Testing: getting repos - mocking GitHub with nock #52

Closed saraf closed 8 years ago

saraf commented 8 years ago

Simulate a case where a user Strider Tester is registered with github and has admin access to TWO repositories one which belongs to him (stridertester/proj1) and one that belongs to a team Strider Testers Union (stridertestersunion/union-proj-1)

getRepos should return an array containing the two repositories. we are using actual responses received from github.com - as recorded and mocked by nock to simulate.

knownasilya commented 5 years ago

Anyone know how to access this github user? Need to login to update the access token.

saraf commented 5 years ago

Hi Ilya!

Found it. Will mail it to you.

Thanks! warm regards, Aalhad

On Fri, Aug 10, 2018 at 9:21 AM Ilya Radchenko notifications@github.com wrote:

Anyone know how to access this github user? Need to login to update the access token.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Strider-CD/strider-github/pull/52#issuecomment-411967572, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHK9edDJ9kfiH8ZvooGNWZXnTn3vcM6ks5uPQNVgaJpZM4FvmJf .

knownasilya commented 5 years ago

Got it, thanks!