tests should be working / build should suceed now
Some checks failed
CI / testsuite (mysql, 8.2, ) (push) Failing after 4m30s
CI / testsuite (pgsql, 8.2, ) (push) Failing after 8m57s
CI / testsuite (mysql, 8.4, ) (push) Has started running
CI / testsuite (pgsql, 8.4, ) (push) Has started running
CI / testsuite (sqlite, 8.2, ) (push) Has started running
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has been cancelled
CI / testsuite (sqlite, 8.4, ) (push) Has been cancelled
CI / Coding Standard & Static Analysis (push) Has been cancelled

This commit is contained in:
2026-01-28 01:23:58 -08:00
parent c267e6b521
commit 1be025aa22
8 changed files with 78 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ use Cake\Http\ServerRequest;
use Cake\TestSuite\TestCase;
use CakeContactUs\Controller\Component\ContactUsComponent;
use CakeContactUs\Model\Entity\ContactUsFormSubmission;
use CakeContactUs\Test\Fixture\ContactUsFormSubmissionsFixture;
/**
* CakeContactUs\Controller\Component\ContactUsComponent Test Case
@@ -25,7 +26,7 @@ class ContactUsComponentTest extends TestCase {
* @var array<string>
*/
protected array $fixtures = [
'plugin.CakeContactUs.ContactUsFormSubmissions',
ContactUsFormSubmissionsFixture::class,
];
/**

View File

@@ -11,6 +11,7 @@ use Cake\TestSuite\EmailTrait;
use Cake\TestSuite\IntegrationTestTrait;
use Cake\TestSuite\TestCase;
use CakeContactUs\CakeContactUsPlugin;
use CakeContactUs\Test\Fixture\ContactUsFormSubmissionsFixture;
/**
* CakeContactUs\Controller\ContactUsFormSubmissionsController Test Case
@@ -31,7 +32,7 @@ class ContactUsFormSubmissionsControllerTest extends TestCase {
* @var array<string>
*/
protected array $fixtures = [
'plugin.CakeContactUs.ContactUsFormSubmissions',
ContactUsFormSubmissionsFixture::class,
];
/**
@@ -41,7 +42,7 @@ class ContactUsFormSubmissionsControllerTest extends TestCase {
*/
protected function setUp(): void {
parent::setUp();
$this->ContactUsFormSubmissions = $this->getTableLocator()->get('ContactUsFormSubmissions');
$this->ContactUsFormSubmissions = $this->getTableLocator()->get('CakeContactUs.ContactUsFormSubmissions');
EventManager::instance()->setEventList(new EventList());
}