File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
tests/integration/tools/atlas Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ describeWithAtlas("clusters", (integration) => {
8484 it ( "should create a free cluster and add current IP to access list" , async ( ) => {
8585 const projectId = getProjectId ( ) ;
8686 const session = integration . mcpServer ( ) . session ;
87- const ipInfo = await session . apiClient . getIpInfo ( ) ;
8887
8988 const response = await integration . mcpClient ( ) . callTool ( {
9089 name : "atlas-create-free-cluster" ,
@@ -102,7 +101,7 @@ describeWithAtlas("clusters", (integration) => {
102101 const accessList = await session . apiClient . listProjectIpAccessLists ( {
103102 params : { path : { groupId : projectId } } ,
104103 } ) ;
105- const found = accessList . results ?. some ( ( entry ) => entry . ipAddress === ipInfo . currentIpv4Address ) ;
104+ const found = accessList . results ?. some ( ( entry ) => entry . ipAddress === getIpAddress ( ) ) ;
106105 expect ( found ) . toBe ( true ) ;
107106 } ) ;
108107 } ) ;
You can’t perform that action at this time.
0 commit comments