This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "quizzes": [ | |
| { | |
| "title": "Introduction to Extending Craft CMS", | |
| "passingScore": 70, | |
| "timeLimit": 0, | |
| "maxAttempts": 0, | |
| "allowRetakes": 1, | |
| "showCorrectAnswers": 1, | |
| "shuffleQuestions": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "quizzes": [ | |
| { | |
| "title": "Debugging with Xdebug", | |
| "passingScore": 70, | |
| "timeLimit": 0, | |
| "maxAttempts": 0, | |
| "allowRetakes": 1, | |
| "showCorrectAnswers": 1, | |
| "shuffleQuestions": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "quizzes": [ | |
| { | |
| "title": "Real World Craft CMS", | |
| "passingScore": 70, | |
| "timeLimit": 0, | |
| "maxAttempts": 0, | |
| "allowRetakes": 1, | |
| "showCorrectAnswers": 1, | |
| "shuffleQuestions": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "quizzes": [ | |
| { | |
| "title": "AI-Assisted Craft CMS Development", | |
| "passingScore": 70, | |
| "timeLimit": 0, | |
| "maxAttempts": 0, | |
| "allowRetakes": 1, | |
| "showCorrectAnswers": 1, | |
| "shuffleQuestions": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "quizzes": [ | |
| { | |
| "title": "AI-Assisted Craft CMS Development", | |
| "passingScore": 70, | |
| "timeLimit": 0, | |
| "maxAttempts": 0, | |
| "allowRetakes": 1, | |
| "showCorrectAnswers": 1, | |
| "shuffleQuestions": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $languages = [ | |
| 'ab' => 'Abkhazian', | |
| 'aa' => 'Afar', | |
| 'af' => 'Afrikaans', | |
| 'ak' => 'Akan', | |
| 'sq' => 'Albanian', | |
| 'am' => 'Amharic', | |
| 'ar' => 'Arabic', | |
| 'an' => 'Aragonese', | |
| 'hy' => 'Armenian', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| actor: Tester | |
| paths: | |
| tests: tests | |
| log: tests/_output | |
| data: tests/_data | |
| support: tests/_support | |
| envs: tests/_envs | |
| settings: | |
| bootstrap: _bootstrap.php | |
| params: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use craft\test\TestSetup; | |
| return TestSetup::createTestCraftObjectConfig(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use craft\test\TestSetup; | |
| ini_set('date.timezone', 'UTC'); | |
| // Use the current installation of Craft | |
| define('CRAFT_STORAGE_PATH', __DIR__ . '/_craft/storage'); | |
| define('CRAFT_TEMPLATES_PATH', __DIR__ . '/_craft/templates'); | |
| define('CRAFT_CONFIG_PATH', __DIR__ . '/_craft/config'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ('serviceWorker' in navigator) { | |
| window.addEventListener('load', function() { | |
| navigator.serviceWorker.register('/sw.js', { | |
| scope: "/" | |
| }).then(function(registration) { | |
| // Registration was successful | |
| console.log('ServiceWorker registration successful with scope: ', registration.scope); | |
| // Trim the caches on load | |
| navigator.serviceWorker.controller && navigator.serviceWorker.controller.postMessage({ | |
| command: "trimCaches" |
NewerOlder