From 9c8e8044485630627f9fd56d5021f5ebd6c998bf Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Feb 2026 06:18:30 +0000 Subject: [PATCH] test: fix TestCase to use Orchestra Testbench for CI --- composer.json | 20 +++++++++++++++++--- tests/TestCase.php | 11 +++++++++-- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 17bd0f5..440d07f 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,13 @@ { "name": "host-uk/core-uptelligence", "description": "Upstream vendor tracking and dependency intelligence", - "keywords": ["laravel", "vendor", "tracking", "dependencies", "upstream"], + "keywords": [ + "laravel", + "vendor", + "tracking", + "dependencies", + "upstream" + ], "license": "EUPL-1.2", "require": { "php": "^8.2", @@ -19,7 +25,8 @@ }, "autoload-dev": { "psr-4": { - "Core\\Mod\\Uptelligence\\Tests\\": "tests/" + "Core\\Mod\\Uptelligence\\Tests\\": "tests/", + "Tests\\": "tests/" } }, "extra": { @@ -40,5 +47,12 @@ } }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "repositories": [ + { + "name": "core", + "type": "path", + "url": "../php-framework" + } + ] } diff --git a/tests/TestCase.php b/tests/TestCase.php index fe1ffc2..6aaa769 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,10 +1,17 @@