tests should be working / build should suceed now
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user