-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
146 changed files
with
6,537 additions
and
1,826 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,34 @@ | ||
/composer.lock | ||
/db/log/*.log | ||
/db/ruckusing.conf.local.php | ||
/db/sql/*.bak | ||
/composer.lock | ||
/js/vendor/evercookie | ||
/js/vendor/uuid-js | ||
/phpunit.xml | ||
/tests/mocha/node_modules/ | ||
/tests/integration-environment/cache/*.* | ||
/tests/integration-environment/wordpress/ | ||
/tests/integration-environment/wordpress-*.tar.gz | ||
/tests/integration-environment/*.zip | ||
/tests/integration-environment/*.log | ||
/tests/integration-environment/*.pid | ||
/tests/integration-environment/*.zip | ||
/tests/integration-environment/cache/*.* | ||
/tests/integration-environment/wordpress-*.tar.gz | ||
/tests/integration-environment/wordpress/ | ||
/tests/mocha/node_modules/ | ||
/tools/intro-video/*.mp4 | ||
/tools/intro-video/.backup/ | ||
/tools/intro-video/Wp-testing-Intro.mp4.txt | ||
/tools/intro-video/aifc/ | ||
/tools/intro-video/background/ | ||
/tools/intro-video/mkv/ | ||
/tools/intro-video/mp3/ | ||
/tools/intro-video/node_modules/ | ||
/tools/intro-video/ogv/ | ||
/tools/intro-video/thumbnail/ | ||
/tools/intro-video/thumbs/ | ||
/tools/refactoring/*.sql | ||
/tools/refactoring/*.svg | ||
/tools/screenshots/decorated/*.png | ||
/tools/screenshots/node_modules/ | ||
/tools/screenshots/raw/*.png | ||
/tools/screenshots/decorated/*.png | ||
/tools/support/*.txt | ||
/tools/support/*.md | ||
/tools/support/*.txt | ||
/tools/support/wordpress-support-mirror/ | ||
/vendor/ |
This file contains 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
This file contains 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
This file contains 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
45 changes: 0 additions & 45 deletions
45
db/migrations/wp_testing/20140913082248_AddQuestionsTable.php
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
db/migrations/wp_testing/20140913082248_WpTesting_Migration_AddQuestionsTable.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
class WpTesting_Migration_AddQuestionsTable extends WpTesting_Migration_AddSingleTable | ||
{ | ||
|
||
protected $entity = 'question'; | ||
|
||
protected function setUpTable($table) | ||
{ | ||
$this->addForeignKeyToTest($table); | ||
$table->addColumnText('question_title'); | ||
} | ||
} |
59 changes: 0 additions & 59 deletions
59
db/migrations/wp_testing/20140916030608_AddTestScoresTable.php
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
db/migrations/wp_testing/20140916030608_WpTesting_Migration_AddTestScoresTable.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
class WpTesting_Migration_AddTestScoresTable extends WpTesting_Migration_MigrateTable | ||
{ | ||
public function up() | ||
{ | ||
$this->createTable('scores') | ||
->addForeignKey('answer_id', array( | ||
'primary_key' => true, | ||
'keyName' => 'fk_score_answer', | ||
'referencedTable' => "{$this->globalPrefix}terms", | ||
'referencedKey' => 'term_id', | ||
)) | ||
->addForeignKey('question_id', array( | ||
'primary_key' => true, | ||
'keyName' => 'fk_score_question', | ||
'referencedTable' => "{$this->pluginPrefix}questions", | ||
)) | ||
->addForeignKey('scale_id', array( | ||
'primary_key' => true, | ||
'keyName' => 'fk_score_scale', | ||
'referencedTable' => "{$this->globalPrefix}terms", | ||
'referencedKey' => 'term_id', | ||
)) | ||
->addColumnIntegerTiny('score_value', array('default' => 0)) | ||
->finish(); | ||
} | ||
|
||
public function down() | ||
{ | ||
$this->dropTable('scores'); | ||
} | ||
} |
Oops, something went wrong.