From 1cdb41224bff2aaeac0b303e5e8b8c3781551ec3 Mon Sep 17 00:00:00 2001 From: peptiderepo Date: Sun, 26 Apr 2026 04:43:36 +0000 Subject: [PATCH] fix: add PRAUTOBLOGGER_DEFAULT_IMAGE_PROVIDER to test bootstrap Catalog class references this constant; test suite was throwing "Undefined constant" on all image pipeline tests (18 errors). --- tests/bootstrap.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6d716a8..8e03d05 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -63,6 +63,9 @@ if ( ! defined( 'PRAUTOBLOGGER_DEFAULT_EDITOR_MODEL' ) ) { if ( ! defined( 'PRAUTOBLOGGER_DEFAULT_IMAGE_MODEL' ) ) { define( 'PRAUTOBLOGGER_DEFAULT_IMAGE_MODEL', 'runware:100@1' ); } +if ( ! defined( 'PRAUTOBLOGGER_DEFAULT_IMAGE_PROVIDER' ) ) { + define( 'PRAUTOBLOGGER_DEFAULT_IMAGE_PROVIDER', 'runware' ); +} // Default image style suffix used by ImagePromptBuilder and settings UI. if ( ! defined( 'PRAUTOBLOGGER_DEFAULT_IMAGE_STYLE_SUFFIX' ) ) {