partkeepr/PartKeepr

View on GitHub
web/setup/js/Cards/PrerequisitesTestCard.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * This card runs the prerequisites test to make sure basic things like PHP and Doctrine are installed and configured.
 */
Ext.define('PartKeeprSetup.PrerequisitesTestCard', {
    extend: 'PartKeeprSetup.AbstractTestCard',

    cardMessage: "Setup now checks if your server is capable of running PartKeepr.",
    breadCrumbTitle: 'Prerequisites',
    /**
     * Sets up all tests
     */
    setupTests: function ()
    {
        this.tests.push(new PartKeeprSetup.PHPTest());
        this.tests.push(new PartKeeprSetup.PHPPrerequisitesTest());
        this.tests.push(new PartKeeprSetup.PHPSettingsTest());
        this.tests.push(new PartKeeprSetup.WebserverTest());
        this.tests.push(new PartKeeprSetup.WebserverRewriteTest());
        this.tests.push(new PartKeeprSetup.WebserverLogDirectoryTest());
        this.tests.push(new PartKeeprSetup.GenerateAuthKey());
    }
});