Skip to content

Commit

Permalink
Merge pull request #98 from oceanprotocol/fix-p2p-route
Browse files Browse the repository at this point in the history
Fix p2p test.
  • Loading branch information
mariacarmina authored Mar 4, 2025
2 parents ed26461 + 8ec1a48 commit 5ca5620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/http.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ describe('Direct Command Endpoint', () => {
});


describe('getOceanPeers Endpoint', () => {
describe('getP2PPeers Endpoint', () => {

it('should return correct status', async () => {
const response = await fetch('http://localhost:8001/getOceanPeers');
const response = await fetch('http://localhost:8001/getP2PPeers');
const responseBody = await response.json();

expect(response.status).to.equal(200);
Expand Down

0 comments on commit 5ca5620

Please sign in to comment.