diff --git a/src/components/Administer.test.jsx b/src/components/Administer.test.jsx
index 7f446ed..598ed4e 100644
--- a/src/components/Administer.test.jsx
+++ b/src/components/Administer.test.jsx
@@ -23,7 +23,7 @@
   });
 
   test('renders user management tab by default', async () => {
-    mock.onGet('http://localhost:8088/user/allUser').reply(200, {
+    mock.onGet('/user/allUser').reply(200, {
       code: 200,
       data: { data: [] }
     });
@@ -53,7 +53,7 @@
       }
     ];
 
-    mock.onGet('http://localhost:8088/user/allUser').reply(200, {
+    mock.onGet('/user/allUser').reply(200, {
       code: 200,
       data: { data: mockUsers }
     });
@@ -77,7 +77,7 @@
       }
     ];
 
-    mock.onGet('http://localhost:8088/user/searchUser').reply(200, {
+    mock.onGet('/user/searchUser').reply(200, {
       code: 200,
       data: { data: mockUsers }
     });
@@ -99,12 +99,12 @@
   });
 
   test('switches between tabs', async () => {
-    mock.onGet('http://localhost:8088/user/allUser').reply(200, {
+    mock.onGet('/user/allUser').reply(200, {
       code: 200,
       data: { data: [] }
     });
 
-    mock.onGet('http://localhost:8088/discount/all').reply(200, {
+    mock.onGet('/discount/all').reply(200, {
       code: 200,
       data: { data: [] }
     });
