mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
Use string for price attribute on integration tests.
This commit is contained in:
parent
6fe8430b08
commit
337c527f7d
@ -38,7 +38,7 @@ describe("Consume Asset", () => {
|
||||
const initialBalance = (await consumer.getBalance()).ocn
|
||||
await consumer.requestTokens(metadata.base.price)
|
||||
|
||||
assert.equal((await consumer.getBalance()).ocn, initialBalance + metadata.base.price, "OCN Tokens not delivered")
|
||||
assert.equal((await consumer.getBalance()).ocn, initialBalance + +metadata.base.price, "OCN Tokens not delivered")
|
||||
})
|
||||
|
||||
it("should sign the service agreement", async () => {
|
||||
|
@ -25,7 +25,7 @@ const metadata: Partial<MetaData> = {
|
||||
inLanguage: "en",
|
||||
categories: ["Economy", "Data Science"],
|
||||
tags: ["weather", "uk", "2011", "temperature", "humidity"],
|
||||
price: 10,
|
||||
price: "10" + "0".repeat(18),
|
||||
files: [
|
||||
{
|
||||
index: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user