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).
This commit is contained in:
peptiderepo
2026-04-26 04:43:36 +00:00
parent b2bc4be9c2
commit 1cdb41224b

View File

@@ -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' ) ) {