@@ -21,21 +21,21 @@ func TestAccProjectRateLimitResource(t *testing.T) {
21
21
ProtoV6ProviderFactories : testAccProtoV6ProviderFactories ,
22
22
Steps : []resource.TestStep {
23
23
{
24
- Config : testAccProjectRateLimitResourceConfig (projectName , "text-embedding-3-small" , 3 , 150000 ),
24
+ Config : testAccProjectRateLimitResourceConfig (projectName , "text-embedding-3-small" , 3 , 3 ),
25
25
ConfigStateChecks : []statecheck.StateCheck {
26
26
statecheck .CompareValuePairs ("openai_project.test" , tfjsonpath .New ("id" ), rn , tfjsonpath .New ("project_id" ), compare .ValuesSame ()),
27
27
statecheck .ExpectKnownValue (rn , tfjsonpath .New ("model" ), knownvalue .StringExact ("text-embedding-3-small" )),
28
28
statecheck .ExpectKnownValue (rn , tfjsonpath .New ("max_requests_per_1_minute" ), knownvalue .Int64Exact (3 )),
29
- statecheck .ExpectKnownValue (rn , tfjsonpath .New ("max_tokens_per_1_minute" ), knownvalue .Int64Exact (150000 )),
29
+ statecheck .ExpectKnownValue (rn , tfjsonpath .New ("max_tokens_per_1_minute" ), knownvalue .Int64Exact (3 )),
30
30
},
31
31
},
32
32
{
33
- Config : testAccProjectRateLimitResourceConfig (projectName , "text-embedding-3-small" , 2 , 75000 ),
33
+ Config : testAccProjectRateLimitResourceConfig (projectName , "text-embedding-3-small" , 2 , 2 ),
34
34
ConfigStateChecks : []statecheck.StateCheck {
35
35
statecheck .CompareValuePairs ("openai_project.test" , tfjsonpath .New ("id" ), rn , tfjsonpath .New ("project_id" ), compare .ValuesSame ()),
36
36
statecheck .ExpectKnownValue (rn , tfjsonpath .New ("model" ), knownvalue .StringExact ("text-embedding-3-small" )),
37
37
statecheck .ExpectKnownValue (rn , tfjsonpath .New ("max_requests_per_1_minute" ), knownvalue .Int64Exact (2 )),
38
- statecheck .ExpectKnownValue (rn , tfjsonpath .New ("max_tokens_per_1_minute" ), knownvalue .Int64Exact (75000 )),
38
+ statecheck .ExpectKnownValue (rn , tfjsonpath .New ("max_tokens_per_1_minute" ), knownvalue .Int64Exact (2 )),
39
39
},
40
40
},
41
41
},
0 commit comments