This repository was archived by the owner on Aug 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
jetbrains/src/integrationTest/kotlin/com/sourcegraph/cody Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class AutocompleteCompletionTest : BaseAutocompleteTest() {
2626 private val fixture =
2727 BaseIntegrationTextFixture (
2828 " autocomplete" ,
29- credentials = TestingCredentials .dotcom ,
29+ credentials = TestingCredentials .s2 ,
3030 CodyAgentService .clientCapabilities.copy(
3131 globalState = ClientCapabilities .GlobalStateEnum .Stateless ))
3232
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import org.junit.Assert.fail
2222class EditCodeFixture (recordingName : String ) :
2323 BaseIntegrationTextFixture (
2424 recordingName,
25- credentials = TestingCredentials .dotcom ,
25+ credentials = TestingCredentials .enterprise ,
2626 CodyAgentService .clientCapabilities.copy(
2727 globalState = ClientCapabilities .GlobalStateEnum .Stateless )),
2828 LensListener {
Original file line number Diff line number Diff line change 11package com.sourcegraph.cody.util
22
3- import com.sourcegraph.config.ConfigUtil
4-
53// See instructions in CONTRIBUTING.MD
64// for how to update the `redacted` tokens when the access token changes.
75data class TestingCredentials (
@@ -10,18 +8,6 @@ data class TestingCredentials(
108 val serverEndpoint : String
119) {
1210 companion object {
13- val dotcom =
14- TestingCredentials (
15- token = System .getenv(" SRC_DOTCOM_PRO_ACCESS_TOKEN" ),
16- redactedToken =
17- " REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb" ,
18- serverEndpoint = ConfigUtil .DOTCOM_URL )
19- val dotcomProUserRateLimited =
20- TestingCredentials (
21- token = System .getenv(" SRC_DOTCOM_PRO_RATE_LIMIT_ACCESS_TOKEN" ),
22- redactedToken =
23- " REDACTED_c31e1e5cbed2b06911f09e4e9766c7df227fb23b80cb364c1fe289a845667b4e" ,
24- serverEndpoint = ConfigUtil .DOTCOM_URL )
2511 val enterprise =
2612 TestingCredentials (
2713 token = System .getenv(" SRC_ENTERPRISE_ACCESS_TOKEN" ),
You can’t perform that action at this time.
0 commit comments