hasIndex example

$this->loader = $this->getContainer()->get(ProductConfiguratorLoader::class);

        $this->connection = $this->getContainer()->get(Connection::class);
    }

    public function testMigration(): void
    {
        $this->connection->rollBack();
        $this->revertMigration();

        $hasIndex = $this->hasIndex();

        static::assertFalse($hasIndex);

        $this->executeMigration();

        $hasIndex = $this->hasIndex();

        static::assertTrue($hasIndex);

        $this->connection->beginTransaction();
    }

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