File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2901,6 +2901,30 @@ describe('ParticleAPI', () => {
2901
2901
} ) ;
2902
2902
} ) ;
2903
2903
} ) ;
2904
+
2905
+ describe ( 'listLedgerInstanceVersions' , ( ) => {
2906
+ it ( 'generates request' , ( ) => {
2907
+ return api . listLedgerInstanceVersions ( propsWithOrg ) . then ( ( results ) => {
2908
+ results . should . match ( {
2909
+ method : 'get' ,
2910
+ uri : `/v1/orgs/${ org } /ledgers/${ props . ledgerName } /instances/${ props . scopeValue } /versions` ,
2911
+ auth : props . auth
2912
+ } ) ;
2913
+ } ) ;
2914
+ } ) ;
2915
+ } ) ;
2916
+
2917
+ describe ( '.getLedgerInstanceVersion' , ( ) => {
2918
+ it ( 'generates request' , ( ) => {
2919
+ return api . getLedgerInstanceVersion ( propsWithOrg ) . then ( ( results ) => {
2920
+ results . should . match ( {
2921
+ method : 'get' ,
2922
+ uri : `/v1/orgs/${ org } /ledgers/${ props . ledgerName } /instances/${ props . scopeValue } /versions/${ props . version } ` ,
2923
+ auth : props . auth
2924
+ } ) ;
2925
+ } ) ;
2926
+ } ) ;
2927
+ } ) ;
2904
2928
} ) ;
2905
2929
2906
2930
describe ( 'backwards-compatibility function aliases' , ( ) => {
You can’t perform that action at this time.
0 commit comments