File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe("accessListUtils", () => {
88 it ( "should add the current IP to the access list" , async ( ) => {
99 const apiClient = {
1010 getIpInfo : vi . fn ( ) . mockResolvedValue ( { currentIpv4Address : "127.0.0.1" } as never ) ,
11- createProjectIpAccessList : vi . fn ( ) . mockResolvedValue ( undefined as never ) ,
11+ createAccessListEntry : vi . fn ( ) . mockResolvedValue ( undefined as never ) ,
1212 logger : new NullLogger ( ) ,
1313 } as unknown as ApiClient ;
1414 await ensureCurrentIpInAccessList ( apiClient , "projectId" ) ;
@@ -22,7 +22,7 @@ describe("accessListUtils", () => {
2222 it ( "should not fail if the current IP is already in the access list" , async ( ) => {
2323 const apiClient = {
2424 getIpInfo : vi . fn ( ) . mockResolvedValue ( { currentIpv4Address : "127.0.0.1" } as never ) ,
25- createProjectIpAccessList : vi
25+ createAccessListEntry : vi
2626 . fn ( )
2727 . mockRejectedValue (
2828 ApiClientError . fromError (
You can’t perform that action at this time.
0 commit comments