File tree Expand file tree Collapse file tree
packages/blocks/aws-athena/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ describe('runAthenaQueryAction tests', () => {
7676 ...jest . requireActual ( '@openops/blocks-framework' ) ,
7777 auth : auth ,
7878 propsValue : {
79- accounts : { accounts : [ 'some-account-id' ] } ,
79+ accounts : { accounts : 'some-account-id' } ,
8080 query : 'some query' ,
8181 database : 'some database' ,
8282 outputBucket : 'some outputBucket' ,
@@ -90,7 +90,7 @@ describe('runAthenaQueryAction tests', () => {
9090 expect ( openopsCommonMock . getCredentialsForAccount ) . toHaveBeenCalledTimes ( 1 ) ;
9191 expect ( openopsCommonMock . getCredentialsForAccount ) . toHaveBeenCalledWith (
9292 auth ,
93- [ 'some-account-id' ] ,
93+ 'some-account-id' ,
9494 ) ;
9595 } ) ;
9696
@@ -136,7 +136,6 @@ describe('runAthenaQueryAction tests', () => {
136136 ...jest . requireActual ( '@openops/blocks-framework' ) ,
137137 auth : auth ,
138138 propsValue : {
139- accounts : { accounts : [ 'some-account-id' ] } ,
140139 region : 'some region' ,
141140 query : 'some query' ,
142141 database : 'some database' ,
@@ -159,7 +158,7 @@ describe('runAthenaQueryAction tests', () => {
159158 expect ( openopsCommonMock . getCredentialsForAccount ) . toHaveBeenCalledTimes ( 1 ) ;
160159 expect ( openopsCommonMock . getCredentialsForAccount ) . toHaveBeenCalledWith (
161160 auth ,
162- [ 'some-account-id' ] ,
161+ undefined ,
163162 ) ;
164163 } ) ;
165164
You can’t perform that action at this time.
0 commit comments