@@ -8,24 +8,22 @@ Feature: Knowledge Asset Retrieval
88 Given the DKG client is initialized with a valid configuration
99 And the blockchain service is mocked
1010 And the node API is mocked
11+ And a valid UAL for an existing asset
1112
1213 Scenario : Successfully retrieve an asset by UAL
13- Given a valid UAL for an existing asset
14- And the node API get operation returns assertion data
14+ Given the node API get operation returns assertion data
1515 When I get the Knowledge Asset
1616 Then the result should contain the assertion data
1717 And the operation status should be "COMPLETED"
1818
1919 Scenario : Handle asset not found on the network
20- Given a valid UAL for an existing asset
21- And the node API get operation returns no assertion
20+ Given the node API get operation returns no assertion
2221 When I get the Knowledge Asset
2322 Then the result should contain a failed get operation
2423 And the error message should contain "Unable to find assertion"
2524
2625 Scenario : Retrieve asset with metadata included
27- Given a valid UAL for an existing asset
28- And the node API get operation returns assertion data with metadata
26+ Given the node API get operation returns assertion data with metadata
2927 When I get the Knowledge Asset with metadata included
3028 Then the result should contain the assertion data
3129 And the result should contain metadata
0 commit comments