From 8ec1a4843e91850ad40ab83e0a480a9272e91c97 Mon Sep 17 00:00:00 2001 From: mariacarmina Date: Tue, 4 Mar 2025 15:23:36 +0200 Subject: [PATCH] Fix p2p test. --- test/http.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/http.test.ts b/test/http.test.ts index 9459961..b128a43 100644 --- a/test/http.test.ts +++ b/test/http.test.ts @@ -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);