From c0fc63d600c112181cd0554b6348cc40236e72dd Mon Sep 17 00:00:00 2001 From: Vassilis Papanastasiou Date: Tue, 21 May 2024 16:33:23 +0100 Subject: [PATCH] Update texampleTests.m Add "../examples" to matlab path --- tests/texampleTests.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/texampleTests.m b/tests/texampleTests.m index 86ac39b..f75125b 100644 --- a/tests/texampleTests.m +++ b/tests/texampleTests.m @@ -5,6 +5,9 @@ methods (TestClassSetup) function setUpAndTearDowns(testCase) + import matlab.unittest.fixtures.CurrentFolderFixture + testCase.applyFixture(CurrentFolderFixture("../examples")); + openAIEnvVar = "OPENAI_KEY"; secretKey = getenv(openAIEnvVar); % Create an empty .env file because it is expected by our .mlx