Skip to content

Commit 351b5c1

Browse files
refactor: relocate chroma.yaml to Fixtures and remove authentication environment variables from ChromaServer process.
1 parent dad0ef5 commit 351b5c1

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

tests/Fixtures/ChromaServer.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ public static function start(int $port = 8000): void
1919
return;
2020
}
2121

22-
$command = ['chroma', 'run', 'tests/chroma.yaml'];
23-
24-
self::$process = new Process($command, env: [
25-
'CHROMA_SERVER_AUTHN_CREDENTIALS' => 'test-token',
26-
'CHROMA_SERVER_AUTHN_PROVIDER' => 'chromadb.auth.token_authn.TokenAuthenticationServerProvider',
27-
]);
22+
self::$process = new Process(['chroma', 'run', 'tests/Fixtures/chroma.yaml']);
2823

2924
self::$process->start();
3025

0 commit comments

Comments
 (0)