mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 07:33:12 +09:00
Replace remaining usage of phin (#862)
Replace the remaining places in the codebase using phin with fetch. With the exception of HttpCloser which uses the http/https request method instead.
This commit is contained in:
1 parent
ef0baaa30f
commit
05b6bf8c04
13 files changed
+91
-102
No files matched your search
@@ -9,7 +9,7 @@ describe("subspace_storage endpoints", function() {
|
||||
describe("GET /api/inventory", function() {
|
||||
it("should return the controllers current inventory", async function() {
|
||||
let res = await get("/api/inventory");
|
||||
let inventory = res.body;
|
||||
let inventory = await res.json();
|
||||
assert.equal(typeof inventory, "object", "Inventory should be an object");
|
||||
|
||||
return; // XXX Disabled until a suitable test interface is added.
|
||||
|
||||
Reference in new issue
Block a user