chore: temporarily bypass owner verification in header upload #170
Annotations
9 errors
|
test
Process completed with exit code 1.
|
|
test/integration/routes/header.test.ts > Header Routes > PUT /:name > returns 404 when the name does not exist and is not available:
test/integration/routes/header.test.ts#L440
AssertionError: expected 200 to be 404 // Object.is equality
- Expected
+ Received
- 404
+ 200
❯ test/integration/routes/header.test.ts:440:26
|
|
test/integration/routes/header.test.ts > Header Routes > PUT /:name > returns 403 when the uploader is not the owner of a registered name:
test/integration/routes/header.test.ts#L423
AssertionError: expected 200 to be 403 // Object.is equality
- Expected
+ Received
- 403
+ 200
❯ test/integration/routes/header.test.ts:423:26
|
|
test/integration/routes/header.test.ts > Header Routes > PUT /:name > returns 403 when the signature has expired:
test/integration/routes/header.test.ts#L406
AssertionError: expected '{"message":"uploaded"}' to be 'Signature expired' // Object.is equality
Expected: "Signature expired"
Received: "{"message":"uploaded"}"
❯ test/integration/routes/header.test.ts:406:32
|
|
test/integration/routes/header.test.ts > Header Routes > PUT /:name > returns 200 when upload is successful for an available name:
test/integration/routes/header.test.ts#L357
AssertionError: expected "put" to be called with arguments: [ …(3) ]
Received:
1st put call:
[
- "mainnet/unregistered/test.eth/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
+ "mainnet/registered/test.eth",
Uint8Array [
181,
235,
45,
215,
109,
245,
219,
],
{
"httpMetadata": {
"contentType": "image/jpeg",
},
},
]
Number of calls: 1
❯ test/integration/routes/header.test.ts:357:29
|
|
test/integration/routes/avatar.test.ts > Avatar Routes > PUT /:name > returns 404 when the name does not exist and is not available:
test/integration/routes/avatar.test.ts#L444
AssertionError: expected 200 to be 404 // Object.is equality
- Expected
+ Received
- 404
+ 200
❯ test/integration/routes/avatar.test.ts:444:26
|
|
test/integration/routes/avatar.test.ts > Avatar Routes > PUT /:name > returns 403 when the uploader is not the owner of a registered name:
test/integration/routes/avatar.test.ts#L427
AssertionError: expected 200 to be 403 // Object.is equality
- Expected
+ Received
- 403
+ 200
❯ test/integration/routes/avatar.test.ts:427:26
|
|
test/integration/routes/avatar.test.ts > Avatar Routes > PUT /:name > returns 403 when the signature has expired:
test/integration/routes/avatar.test.ts#L410
AssertionError: expected '{"message":"uploaded"}' to be 'Signature expired' // Object.is equality
Expected: "Signature expired"
Received: "{"message":"uploaded"}"
❯ test/integration/routes/avatar.test.ts:410:32
|
|
test/integration/routes/avatar.test.ts > Avatar Routes > PUT /:name > returns 200 when upload is successful for an available name:
test/integration/routes/avatar.test.ts#L361
AssertionError: expected "put" to be called with arguments: [ …(3) ]
Received:
1st put call:
[
- "mainnet/unregistered/test.eth/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
+ "mainnet/registered/test.eth",
Uint8Array [
181,
235,
45,
215,
109,
245,
219,
],
{
"httpMetadata": {
"contentType": "image/jpeg",
},
},
]
Number of calls: 1
❯ test/integration/routes/avatar.test.ts:361:29
|