Skip to content

Commit

Permalink
broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline committed Dec 21, 2023
1 parent b042e36 commit 3e76afd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/FlowtyWrapped_tests.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fun setup() {
let start: UInt64? = nil
let end: UInt64? = nil
let baseImageUrl: String = "https://example.com/image/"
let baseHtmlUrl: String = "QmVZv2s6sozWWb4dEcANaszqKWLQbieYJLysK7NGq3RGdJ"
let baseHtmlUrl: String = "QmfPkn13gbBNVK6bKtdqyUEa92bmqDy8aVQqGj3pByyyoP"
registerEdition(rafflesAcct: Test.getAccount(Address(0x0000000000000007)), removeAfterReveal: removeAfterReveal, start: start, end: end, baseImageUrl: baseImageUrl, baseHtmlUrl: baseHtmlUrl)

}
Expand Down Expand Up @@ -185,7 +185,7 @@ pub fun testMediasIpfsUrl() {

let ipfsMedia = medias.items[0]
let ipfsUrl = ipfsMedia.file.uri()
assert(ipfsUrl == "ipfs://QmVZv2s6sozWWb4dEcANaszqKWLQbieYJLysK7NGq3RGdJ?username=user1&raffleTickets=1", message: "unexpected ipfs url")
assert(ipfsUrl == "ipfs://QmfPkn13gbBNVK6bKtdqyUEa92bmqDy8aVQqGj3pByyyoP?username=user1&raffleTickets=1", message: "unexpected ipfs url")
}

pub fun testIpfsUrlNoName() {
Expand All @@ -201,7 +201,7 @@ pub fun testIpfsUrlNoName() {

let ipfsMedia = medias.items[0]
let ipfsUrl = ipfsMedia.file.uri()
assert(ipfsUrl == "ipfs://QmVZv2s6sozWWb4dEcANaszqKWLQbieYJLysK7NGq3RGdJ?username=".concat(acct.address.toString()).concat("&raffleTickets=1"), message: "unexpected ipfs url")
assert(ipfsUrl == "ipfs://QmfPkn13gbBNVK6bKtdqyUEa92bmqDy8aVQqGj3pByyyoP?username=".concat(acct.address.toString()).concat("&raffleTickets=1"), message: "unexpected ipfs url")
}

pub fun testDrawRaffle() {
Expand Down

0 comments on commit 3e76afd

Please sign in to comment.