Skip to content

E2E tests for marketplace contract#16

Open
niklabh wants to merge 3 commits into
inkdevhub:mainfrom
niklabh:main
Open

E2E tests for marketplace contract#16
niklabh wants to merge 3 commits into
inkdevhub:mainfrom
niklabh:main

Conversation

@niklabh
Copy link
Copy Markdown
Collaborator

@niklabh niklabh commented Apr 3, 2023

E2E tests for marketplace contract

@niklabh niklabh changed the title [Draft] E2E tests E2E tests for marketplace contract May 8, 2023
pallet_marketplace = { path = "../../logics", default-features = false }

[dev-dependencies]
ink_e2e = "4.0.1"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you are updating this contract, please use the latest ink. I think it is 4.2

Copy link
Copy Markdown
Member

@Maar-io Maar-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove Lottery

Comment thread contracts/marketplace/lib.rs Outdated
#[ink_e2e::test]
async fn default_works(mut client: ink_e2e::Client<C, E>) -> E2EResult<()> {
// Given
let constructor = LotteryRef::default();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not following... What has Lottery to do with this marketplace and from where do you get the LotteryRef?

Comment thread contracts/marketplace/lib.rs Outdated
}
}

/// end-to-end (E2E) or integration tests for lottery.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lottery?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants