Skip to content

Commit

Permalink
Update script & transaction filename to better reflect its functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Peter committed Nov 8, 2023
1 parent 51700ef commit 5946bbf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/CapabilityFactory_tests.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ fun testGetSupportedTypesFromManager() {
access(all)
fun testAddFactoryFails() {
expectScriptFailure(
"test/add_type_to_factory.cdc",
"test/add_type_for_nft_provider_factory.cdc",
[creator.address, Type<&{NonFungibleToken.Provider}>()],
"Factory of given type already exists"
)
}

access(all)
fun testAddFactorySucceeds() {
txExecutor("test/add_type_to_factory.cdc", [creator], [Type<&{NonFungibleToken.Receiver}>()], nil)
txExecutor("test/add_type_for_nft_provider_factory.cdc", [creator], [Type<&{NonFungibleToken.Receiver}>()], nil)

let supportedTypes = scriptExecutor(
"factory/get_supported_types_from_manager.cdc",
Expand Down
File renamed without changes.

0 comments on commit 5946bbf

Please sign in to comment.