Skip to content

Commit df8201e

Browse files
Update delete tests
1 parent 62e4776 commit df8201e

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

tests/accuracy/deleteDeployment.test.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ describeAccuracyTests([
3030
toolName: "atlas-local-list-deployments",
3131
parameters: {},
3232
},
33-
{
34-
toolName: "atlas-local-delete-deployment",
35-
parameters: {},
36-
},
33+
// There is none, so no delete call
3734
],
3835
},
3936
{
@@ -43,6 +40,18 @@ describeAccuracyTests([
4340
toolName: "atlas-local-list-deployments",
4441
parameters: {},
4542
},
43+
// There doesn't exist one so no delete call
44+
],
45+
},
46+
{
47+
prompt: "Create a local MongoDB cluster named 'local-mflix' then delete it immediately",
48+
expectedToolCalls: [
49+
{
50+
toolName: "atlas-local-create-deployment",
51+
parameters: {
52+
deploymentName: "local-mflix",
53+
},
54+
},
4655
{
4756
toolName: "atlas-local-delete-deployment",
4857
parameters: {

tests/accuracy/listDeployments.test.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ describeAccuracyTests([
1010
},
1111
],
1212
},
13-
{
14-
prompt: "What MongoDB databases do I have running?",
15-
expectedToolCalls: [
16-
{
17-
toolName: "atlas-local-list-deployments",
18-
parameters: {},
19-
},
20-
],
21-
},
2213
{
2314
prompt: "What MongoDB instances do I have running?",
2415
expectedToolCalls: [

0 commit comments

Comments
 (0)