insertTestCustomer example


        $schemaManager = $this->connection->createSchemaManager();
        $columns = $schemaManager->listTableColumns(CustomerDefinition::ENTITY_NAME);

        static::assertArrayHasKey('double_opt_in_registration', $columns);
        static::assertArrayHasKey('double_opt_in_email_sent_date', $columns);
        static::assertArrayHasKey('double_opt_in_confirm_date', $columns);
    }

    public function testInsertTriggers(): void
    {
        $this->insertTestCustomer();

        $sql = ' SELECT doubleOptInRegistration, doubleOptInEmailSentDate, doubleOptInConfirmDate, double_opt_in_registration, double_opt_in_email_sent_date, double_opt_in_confirm_date FROM `customer`; ';

        
Home | Imprint | This part of the site doesn't use cookies.