Skip to content

Commit c75dc67

Browse files
fix: Update env var name for test.
1 parent 78e9da3 commit c75dc67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

registry_no_code_module_integration_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,17 @@ func TestRegistryNoCodeModulesRead(t *testing.T) {
214214
// TestRegistryNoCodeModuleReadVariables tests the ReadVariables method of the
215215
// RegistryNoCodeModules service.
216216
//
217-
// This test requires that the environment variable "NO_CODE_MODULE_ID" is set
217+
// This test requires that the environment variable "GITHUB_REGISTRY_NO_CODE_MODULE_IDENTIFIER" is set
218218
// with the ID of an existing no-code module that has variables.
219219
func TestRegistryNoCodeModulesReadVariables(t *testing.T) {
220220
skipUnlessBeta(t)
221221
client := testClient(t)
222222
ctx := context.Background()
223223
r := require.New(t)
224224

225-
ncmID := os.Getenv("NO_CODE_MODULE_ID")
225+
ncmID := os.Getenv("GITHUB_REGISTRY_NO_CODE_MODULE_IDENTIFIER")
226226
if ncmID == "" {
227-
t.Skip("Export a valid NO_CODE_MODULE_ID before running this test")
227+
t.Skip("Export a valid GITHUB_REGISTRY_NO_CODE_MODULE_IDENTIFIER before running this test")
228228
}
229229

230230
ncm, err := client.RegistryNoCodeModules.Read(ctx, ncmID, nil)

0 commit comments

Comments
 (0)