Girl-Code-It / Opportunity-Calendar-Backend

Opportunity Calendar is the one-stop place to refer important opportunities available in tech-space like newly posted jobs, internships, hackathons, tech-conferences, scholarships, etc.

Home Page:https://opportunity-calendar.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Tests of GET API

Manvityagi opened this issue · comments

GET API Tests are not updated for the pagination feature,
All the tests in controllers, managers, services shall be updated as per the latest version of GET API.

I wan to work on this

Hey @Manvityagi I would like to work on this issue and I've sent PR for my previous issue as well you can check and merge it.

Hello @Manvityagi mam , i just got my previous issue merged , can I take this issue ?

Sorry for the delay guys,
As per FCFS, @Sukriti-sood assigned to you

@Sukriti-sood Please update the tests asap, as the build is currently failing and that is probably because of the same issue.

@Sukriti-sood Please update the tests asap, as the build is currently failing and that is probably because of the same issue.

Ook

@Manvityagi I am unable to resolve following error:-
Screenshot from 2021-05-02 17-54-23

If image not uploaded due to any issue:-
OpportunityManager getOpportunities should retrieve Opportunities with specific opportunityType: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/sukriti/Desktop/Opportunity-Calendar-Backend/tests/managers/opportunity-test.js) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)

@Manvityagi I am unable to resolve following error:-
Screenshot from 2021-05-02 17-54-23

If image not uploaded due to any issue:-
OpportunityManager getOpportunities should retrieve Opportunities with specific opportunityType: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/sukriti/Desktop/Opportunity-Calendar-Backend/tests/managers/opportunity-test.js) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)

Take the latest pull, this error is resolved now.

commented

Is this still open? I would like to contribute to this project.

can i get assigned to this task please? i am a GSSOC"23 participant