Updated connection validation logic to allow CSR, CSCR, CSIR
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 1m8s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 1m0s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 1m37s
Laravel Pint / pint (pull_request) Successful in 4m0s
Laravel Larastan / larastan (pull_request) Failing after 6m47s

This commit is contained in:
dhanabalan
2026-11-15 17:36:18 +05:30
parent 4650d551af
commit 2061811546

View File

@@ -315,7 +315,7 @@ class MotorTestingMasterImporter extends Importer
if (Str::length($frequency) <= 0 || ! is_numeric($frequency)) {
$warnMsg[] = 'Invalid frequency found';
}
if (Str::length($connection) <= 0 || ($connection != 'Star-Delta' && $connection != 'Star' && $connection != 'Delta')) {
if (Str::length($connection) <= 0 || ($connection != 'Star-Delta' && $connection != 'Star' && $connection != 'Delta' && $connection != 'CSR' && $connection != 'CSCR' && $connection != 'CSIR')) {
$warnMsg[] = 'Invalid connection found';
}
if (Str::length($insResLimit) <= 0 || ! is_numeric($insResLimit)) {