Skip to content

Commit

Permalink
Fix p2p test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Mar 4, 2025
1 parent ed26461 commit 8ec1a48
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 8ec1a48

Please sign in to comment.