Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 7b72d93

Browse files
committed
tests: Move classes to Fixture dir (#130)
1 parent cd768e7 commit 7b72d93

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

examples/structured-output-math.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use PhpLlm\LlmChain\Platform\OpenAI\OpenAI;
88
use PhpLlm\LlmChain\StructuredOutput\ChainProcessor;
99
use PhpLlm\LlmChain\StructuredOutput\ResponseFormatFactory;
10-
use PhpLlm\LlmChain\Tests\StructuredOutput\Data\MathReasoning;
10+
use PhpLlm\LlmChain\Tests\Fixture\StructuredOutput\MathReasoning;
1111
use Symfony\Component\Dotenv\Dotenv;
1212
use Symfony\Component\HttpClient\HttpClient;
1313
use Symfony\Component\Serializer\Encoder\JsonEncoder;

tests/StructuredOutput/Data/MathReasoning.php renamed to tests/Fixture/StructuredOutput/MathReasoning.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace PhpLlm\LlmChain\Tests\StructuredOutput\Data;
5+
namespace PhpLlm\LlmChain\Tests\Fixture\StructuredOutput;
66

77
final class MathReasoning
88
{

tests/StructuredOutput/Data/Step.php renamed to tests/Fixture/StructuredOutput/Step.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace PhpLlm\LlmChain\Tests\StructuredOutput\Data;
5+
namespace PhpLlm\LlmChain\Tests\Fixture\StructuredOutput;
66

77
final class Step
88
{

tests/StructuredOutput/Data/User.php renamed to tests/Fixture/StructuredOutput/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace PhpLlm\LlmChain\Tests\StructuredOutput\Data;
5+
namespace PhpLlm\LlmChain\Tests\Fixture\StructuredOutput;
66

77
final class User
88
{

tests/StructuredOutput/ResponseFormatFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use PhpLlm\LlmChain\StructuredOutput\ResponseFormatFactory;
88
use PhpLlm\LlmChain\StructuredOutput\SchemaFactory;
9-
use PhpLlm\LlmChain\Tests\StructuredOutput\Data\User;
9+
use PhpLlm\LlmChain\Tests\Fixture\StructuredOutput\User;
1010
use PHPUnit\Framework\Attributes\CoversClass;
1111
use PHPUnit\Framework\Attributes\Test;
1212
use PHPUnit\Framework\Attributes\UsesClass;

tests/StructuredOutput/SchemaFactoryTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace PhpLlm\LlmChain\Tests\StructuredOutput;
66

77
use PhpLlm\LlmChain\StructuredOutput\SchemaFactory;
8-
use PhpLlm\LlmChain\Tests\StructuredOutput\Data\MathReasoning;
9-
use PhpLlm\LlmChain\Tests\StructuredOutput\Data\Step;
10-
use PhpLlm\LlmChain\Tests\StructuredOutput\Data\User;
8+
use PhpLlm\LlmChain\Tests\Fixture\StructuredOutput\MathReasoning;
9+
use PhpLlm\LlmChain\Tests\Fixture\StructuredOutput\Step;
10+
use PhpLlm\LlmChain\Tests\Fixture\StructuredOutput\User;
1111
use PHPUnit\Framework\Attributes\CoversClass;
1212
use PHPUnit\Framework\Attributes\Test;
1313
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)