diff --git a/lib/emitter/tests/AssignmentGradedTest.php b/lib/emitter/tests/AssignmentGradedTest.php index 3dfb11598ec6132ac3c57ab6d69c3a743fecb822..78881606692ec49743c85dca55dc36b456859eeb 100644 --- a/lib/emitter/tests/AssignmentGradedTest.php +++ b/lib/emitter/tests/AssignmentGradedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\AssignmentGraded as Event; class AssignmentGradedTest extends EventTest { - protected static $recipe_name = 'assignment_graded'; + protected static $recipeName = 'assignment_graded'; /** * Sets up the tests. diff --git a/lib/emitter/tests/AssignmentSubmittedTest.php b/lib/emitter/tests/AssignmentSubmittedTest.php index 7e293a5d08f9ac80deb73bb25928fd6433553202..8e88fef8e85d42bc998b62acd8a52f8236755cd4 100644 --- a/lib/emitter/tests/AssignmentSubmittedTest.php +++ b/lib/emitter/tests/AssignmentSubmittedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\AssignmentSubmitted as Event; class AssignmentSubmittedTest extends EventTest { - protected static $recipe_name = 'assignment_submitted'; + protected static $recipeName = 'assignment_submitted'; /** * Sets up the tests. diff --git a/lib/emitter/tests/AttemptCompletedTest.php b/lib/emitter/tests/AttemptCompletedTest.php index f1a4127a8c0118cbf4ca705912a4101a3103ce4c..388ed37208bed8c7c7e9f0e6fd5294d48c317ba3 100644 --- a/lib/emitter/tests/AttemptCompletedTest.php +++ b/lib/emitter/tests/AttemptCompletedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\AttemptCompleted as Event; class AttemptCompletedTest extends EventTest { - protected static $recipe_name = 'attempt_completed'; + protected static $recipeName = 'attempt_completed'; /** * Sets up the tests. diff --git a/lib/emitter/tests/AttemptStartedTest.php b/lib/emitter/tests/AttemptStartedTest.php index f24ff4a8b26af2e91712c3638a5331e74fde651d..ca9cdecc568ad826888f81858d4ac25e0d0fb73b 100644 --- a/lib/emitter/tests/AttemptStartedTest.php +++ b/lib/emitter/tests/AttemptStartedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\AttemptStarted as Event; class AttemptStartedTest extends EventTest { - protected static $recipe_name = 'attempt_started'; + protected static $recipeName = 'attempt_started'; /** * Sets up the tests. diff --git a/lib/emitter/tests/AttendedTest.php b/lib/emitter/tests/AttendedTest.php index c1481e65efea928107268c546a27b9bc1e9ff519..fe4bdc2c4f13238d0bfb6c20f8704b865a716e1b 100644 --- a/lib/emitter/tests/AttendedTest.php +++ b/lib/emitter/tests/AttendedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\Attended as Event; class AttendedTest extends EventTest { - protected static $recipe_name = 'training_session_attend'; + protected static $recipeName = 'training_session_attend'; /** * Sets up the tests. diff --git a/lib/emitter/tests/CourseCompletedTest.php b/lib/emitter/tests/CourseCompletedTest.php index 8785817e46e8fbf10a29433a9cf9be04f6102f5e..916434f0ef59b7e0d9db850360f6a01653033d7a 100644 --- a/lib/emitter/tests/CourseCompletedTest.php +++ b/lib/emitter/tests/CourseCompletedTest.php @@ -17,7 +17,7 @@ class CourseCompletedTest extends EventTest /** * @var string */ - protected static $recipe_name = 'course_completed'; + protected static $recipeName = 'course_completed'; /** * Sets up the tests. diff --git a/lib/emitter/tests/CourseViewedTest.php b/lib/emitter/tests/CourseViewedTest.php index 67148e1891b868e3641419ccfed2d75f4c4c91de..892127e1854e1dc7c78c63cb089efe0c6aef8412 100644 --- a/lib/emitter/tests/CourseViewedTest.php +++ b/lib/emitter/tests/CourseViewedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\CourseViewed as Event; class CourseViewedTest extends EventTest { - protected static $recipe_name = 'course_viewed'; + protected static $recipeName = 'course_viewed'; /** * Sets up the tests. diff --git a/lib/emitter/tests/DiscussionViewedTest.php b/lib/emitter/tests/DiscussionViewedTest.php index f7197e825dbf18a69788bdd55e51645e10bd8645..88bbd1b4cb19b046594d269792a4189781d96df5 100644 --- a/lib/emitter/tests/DiscussionViewedTest.php +++ b/lib/emitter/tests/DiscussionViewedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\DiscussionViewed as Event; class DiscussionViewedTest extends EventTest { - protected static $recipe_name = 'discussion_viewed'; + protected static $recipeName = 'discussion_viewed'; /** * Sets up the tests. diff --git a/lib/emitter/tests/EnrolmentCreatedTest.php b/lib/emitter/tests/EnrolmentCreatedTest.php index f6af21731182f3ca744e47cd39260ba9b492c05f..d6116ba795fd9b97e4baf7042e8e2e4981006dd7 100644 --- a/lib/emitter/tests/EnrolmentCreatedTest.php +++ b/lib/emitter/tests/EnrolmentCreatedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\EnrolmentCreated as Event; class EnrolmentCreatedTest extends EventTest { - protected static $recipe_name = 'enrolment_created'; + protected static $recipeName = 'enrolment_created'; /** * Sets up the tests. diff --git a/lib/emitter/tests/EventEnrolTest.php b/lib/emitter/tests/EventEnrolTest.php index 3675898f8d606a5d7374131ec8c74f486ee632e4..c8c19de7e6395e5d41bb956b2a43d0dcb77999f1 100644 --- a/lib/emitter/tests/EventEnrolTest.php +++ b/lib/emitter/tests/EventEnrolTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\EventEnrol as Event; class EventEnrolTest extends EventTest { - protected static $recipe_name = 'training_session_enrol'; + protected static $recipeName = 'training_session_enrol'; /** * Sets up the tests. diff --git a/lib/emitter/tests/EventTest.php b/lib/emitter/tests/EventTest.php index 8725f9def7763796bf62f30cef8b815166abab92..dffb7c8cb39c553ce490942e33f6f4100a462b7f 100644 --- a/lib/emitter/tests/EventTest.php +++ b/lib/emitter/tests/EventTest.php @@ -5,7 +5,7 @@ use \Locker\XApi\Statement as Statement; abstract class EventTest extends PhpUnitTestCase { protected static $xapiType = 'http://lrs.learninglocker.net/define/type/moodle/'; - protected static $recipe_name; + protected static $recipeName; /** * Sets up the tests. @@ -29,7 +29,7 @@ abstract class EventTest extends PhpUnitTestCase { $this->constructLog(), $this->constructApp(), $this->constructSource(), - ['recipe' => static::$recipe_name] + ['recipe' => static::$recipeName] ); } diff --git a/lib/emitter/tests/EventUnenrolTest.php b/lib/emitter/tests/EventUnenrolTest.php index adfa96d17e8331dba60a921345515e8731491f2a..f475e5d3dfbfbe92c9aabacfa126df1fe2f44894 100644 --- a/lib/emitter/tests/EventUnenrolTest.php +++ b/lib/emitter/tests/EventUnenrolTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\EventUnenrol as Event; class EventUnenrolTest extends EventTest { - protected static $recipe_name = 'training_session_unenrol'; + protected static $recipeName = 'training_session_unenrol'; /** * Sets up the tests. diff --git a/lib/emitter/tests/ModuleViewedTest.php b/lib/emitter/tests/ModuleViewedTest.php index 9b7f84212d81d32748fb21859fa96b211e157b62..3a530ecedb5933d1ac04a75c2c7666abc6a7fc1d 100644 --- a/lib/emitter/tests/ModuleViewedTest.php +++ b/lib/emitter/tests/ModuleViewedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\ModuleViewed as Event; class ModuleViewedTest extends EventTest { - protected static $recipe_name = 'module_viewed'; + protected static $recipeName = 'module_viewed'; /** * Sets up the tests. diff --git a/lib/emitter/tests/QuestionAnsweredTest.php b/lib/emitter/tests/QuestionAnsweredTest.php index 374707636b0527d30b14104feaece47a5a462d38..c58ad08842d31c16496453dba8032484a8787f8b 100644 --- a/lib/emitter/tests/QuestionAnsweredTest.php +++ b/lib/emitter/tests/QuestionAnsweredTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\QuestionAnswered as Event; class QuestionAnsweredTest extends EventTest { - protected static $recipe_name = 'attempt_question_completed'; + protected static $recipeName = 'attempt_question_completed'; /** * Sets up the tests. diff --git a/lib/emitter/tests/ScormEventTest.php b/lib/emitter/tests/ScormEventTest.php index 0c1e6a28b053bf10330c50575dc6daf1f5f90cb2..2dc0465432ce89ee856b4eb5718fb7f59e85b20d 100644 --- a/lib/emitter/tests/ScormEventTest.php +++ b/lib/emitter/tests/ScormEventTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\ScormEvent as Event; class ScormEventTest extends EventTest { - protected static $recipe_name = 'scorm_event'; + protected static $recipeName = 'scorm_event'; /** * Sets up the tests. diff --git a/lib/emitter/tests/ScormLaunchedTest.php b/lib/emitter/tests/ScormLaunchedTest.php index 91c2109158dd6929d0cf55a60e89a5f92ab0639d..bdc22419485b0a1951b76c8c4ffd5eeb6dbabace 100644 --- a/lib/emitter/tests/ScormLaunchedTest.php +++ b/lib/emitter/tests/ScormLaunchedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\ScormLaunched as Event; class ScormLaunchedTest extends EventTest { - protected static $recipe_name = 'scorm_launched'; + protected static $recipeName = 'scorm_launched'; /** * Sets up the tests. diff --git a/lib/emitter/tests/ScormScoreRawSubmittedTest.php b/lib/emitter/tests/ScormScoreRawSubmittedTest.php index 512bb9bd9ecf348fd1fe3ffc1956852a4036ccdf..6646380ba324ac2c9d4d016e4ffcbb77d724d266 100644 --- a/lib/emitter/tests/ScormScoreRawSubmittedTest.php +++ b/lib/emitter/tests/ScormScoreRawSubmittedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\ScormScoreRawSubmitted as Event; class ScormScoreRawSubmittedTest extends ScormEventTest { - protected static $recipe_name = 'scorm_scoreraw_submitted'; + protected static $recipeName = 'scorm_scoreraw_submitted'; /** * Sets up the tests. diff --git a/lib/emitter/tests/ScormStatusSubmittedTest.php b/lib/emitter/tests/ScormStatusSubmittedTest.php index aeb81d430c2accae340b241cebbef92e3190035c..b2147989c3cec8e42f66ec3be8c5c4d2d02903bd 100644 --- a/lib/emitter/tests/ScormStatusSubmittedTest.php +++ b/lib/emitter/tests/ScormStatusSubmittedTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\ScormStatusSubmitted as Event; class ScormStatusSubmittedTest extends ScormEventTest { - protected static $recipe_name = 'scorm_status_submitted'; + protected static $recipeName = 'scorm_status_submitted'; /** * Sets up the tests. diff --git a/lib/emitter/tests/UserLoggedinTest.php b/lib/emitter/tests/UserLoggedinTest.php index a2a7b42f9b637725fc66031edcd9e9e8961ecb2e..b9a34e042d1b4f13d14830cc342b79ae92bbb022 100644 --- a/lib/emitter/tests/UserLoggedinTest.php +++ b/lib/emitter/tests/UserLoggedinTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\UserLoggedin as Event; class UserLoggedinTest extends EventTest { - protected static $recipe_name = 'user_loggedin'; + protected static $recipeName = 'user_loggedin'; /** * Sets up the tests. diff --git a/lib/emitter/tests/UserLoggedoutTest.php b/lib/emitter/tests/UserLoggedoutTest.php index 49e782ea3266b2b8e94a3c956c55617a7d893e89..ae43abc59eb9ae32d3495052acac102d02b17033 100644 --- a/lib/emitter/tests/UserLoggedoutTest.php +++ b/lib/emitter/tests/UserLoggedoutTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\UserLoggedout as Event; class UserLoggedoutTest extends EventTest { - protected static $recipe_name = 'user_loggedout'; + protected static $recipeName = 'user_loggedout'; /** * Sets up the tests. diff --git a/lib/emitter/tests/UserRegisteredTest.php b/lib/emitter/tests/UserRegisteredTest.php index e72c297ae2c1fca85f6b7b8165809200916d19a4..7cbd7f65127060d58f27653b9463afc36e5d5da0 100644 --- a/lib/emitter/tests/UserRegisteredTest.php +++ b/lib/emitter/tests/UserRegisteredTest.php @@ -2,7 +2,7 @@ use \XREmitter\Events\UserRegistered as Event; class UserRegisteredTest extends EventTest { - protected static $recipe_name = 'user_registered'; + protected static $recipeName = 'user_registered'; /** * Sets up the tests. diff --git a/lib/expander/docs/examples/AssignmentGraded.json b/lib/expander/docs/examples/AssignmentGraded.json index c31c8a0ee5cdaf50a23ef4a394cf892927e10387..aaba4f1d3bfc952eae4b68a87e884b3bae9dcc3f 100644 --- a/lib/expander/docs/examples/AssignmentGraded.json +++ b/lib/expander/docs/examples/AssignmentGraded.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/AssignmentSubmitted.json b/lib/expander/docs/examples/AssignmentSubmitted.json index 0f59e64d0e770486bd57fef94a751f3ae4da8a8c..0ef1325342ce49c72ec6663c4cb9409fdf4ab2df 100644 --- a/lib/expander/docs/examples/AssignmentSubmitted.json +++ b/lib/expander/docs/examples/AssignmentSubmitted.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/AttemptEvent.json b/lib/expander/docs/examples/AttemptEvent.json index 3ef802a1a84c023999a91fd7b91b50fe1ad2ed26..ab6130501f21a409c358406b1f7690ee602272eb 100644 --- a/lib/expander/docs/examples/AttemptEvent.json +++ b/lib/expander/docs/examples/AttemptEvent.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/CourseCompleted.json b/lib/expander/docs/examples/CourseCompleted.json index cea7058f86d3ee1db803edb8feac76478a23b424..b1cc3e553fb82616fc9d0bff41bc2b90bf43b681 100644 --- a/lib/expander/docs/examples/CourseCompleted.json +++ b/lib/expander/docs/examples/CourseCompleted.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/DiscussionEvent.json b/lib/expander/docs/examples/DiscussionEvent.json index aa33db38dfe96831cb6d3ec423a8ec97165c3d7a..8b1e270a01a8a3c67585076c95bd5ca52403f1c6 100644 --- a/lib/expander/docs/examples/DiscussionEvent.json +++ b/lib/expander/docs/examples/DiscussionEvent.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/Event.json b/lib/expander/docs/examples/Event.json index beeb20556effa361f60192bfaff552f0957c9ed6..29edb2a7dad9b09c9a4f9ed5124e5675ff783454 100644 --- a/lib/expander/docs/examples/Event.json +++ b/lib/expander/docs/examples/Event.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/FacetofaceAttended.json b/lib/expander/docs/examples/FacetofaceAttended.json index 2049bc61782d0a947eaa2781384030bc724da22a..b0bebd64e28e5aae6effa852e8ac36296c32dac3 100644 --- a/lib/expander/docs/examples/FacetofaceAttended.json +++ b/lib/expander/docs/examples/FacetofaceAttended.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/FacetofaceEvent.json b/lib/expander/docs/examples/FacetofaceEvent.json index 636f71da867ab0fc7c490eb10c6fef945942473f..ab18b4e2fb7d97364afb75dc8d1f2ffe6a1f9e0d 100644 --- a/lib/expander/docs/examples/FacetofaceEvent.json +++ b/lib/expander/docs/examples/FacetofaceEvent.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/FeedbackSubitted.json b/lib/expander/docs/examples/FeedbackSubitted.json index 91d6fecfad6b1adc2f4c40d0a3326d11d310501b..dced4766b22a47de72e2b841efd5020572bb345b 100644 --- a/lib/expander/docs/examples/FeedbackSubitted.json +++ b/lib/expander/docs/examples/FeedbackSubitted.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, @@ -117,6 +116,6 @@ "type": "object" } }, - "timemodified": 1497206145 + "timemodified": 1497207558 } } \ No newline at end of file diff --git a/lib/expander/docs/examples/ModuleEvent.json b/lib/expander/docs/examples/ModuleEvent.json index e85d7884f756b6c3c2d8b16c6820e4704b25b103..40bfc134fb4c328fdbcc7b9f2f7843a971fe14d8 100644 --- a/lib/expander/docs/examples/ModuleEvent.json +++ b/lib/expander/docs/examples/ModuleEvent.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/ScormLaunched.json b/lib/expander/docs/examples/ScormLaunched.json index a1a6e52d49cd7ee181a68905a025cfcc851705c8..b9826c81f0770429b599292377edde5c0450aa3d 100644 --- a/lib/expander/docs/examples/ScormLaunched.json +++ b/lib/expander/docs/examples/ScormLaunched.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/expander/docs/examples/ScormSubmitted.json b/lib/expander/docs/examples/ScormSubmitted.json index 425714c4cd04ce057e5fdec16d241b2989dff0c0..1cfb2bba835f947bff2b43e3a5166ae0b3d712fc 100644 --- a/lib/expander/docs/examples/ScormSubmitted.json +++ b/lib/expander/docs/examples/ScormSubmitted.json @@ -42,8 +42,7 @@ "url": "http:\/\/www.example.com" }, "info": { - "https:\/\/moodle.org\/": "1.0.0", - "https:\/\/github.com\/LearningLocker\/Moodle-Log-Expander": null + "https:\/\/moodle.org\/": "1.0.0" }, "event": { "userid": 1, diff --git a/lib/translator/tests/AssignmentGradedTest.php b/lib/translator/tests/AssignmentGradedTest.php index 961f5037db0c62ac1d05cbe65c683b16c73a93aa..bee9c218f31642c54bbfdb9b135f2751afed3a36 100644 --- a/lib/translator/tests/AssignmentGradedTest.php +++ b/lib/translator/tests/AssignmentGradedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\AssignmentGraded as Event; class AssignmentGradedTest extends ModuleViewedTest { - protected static $recipe_name = 'assignment_graded'; + protected static $recipeName = 'assignment_graded'; /** * Sets up the tests. diff --git a/lib/translator/tests/AssignmentSubmittedTest.php b/lib/translator/tests/AssignmentSubmittedTest.php index e31e4eda83c9607d2eb78995a953a1c97ac2d412..c8c886692da8d751d8477e0ae95b986a841e9199 100644 --- a/lib/translator/tests/AssignmentSubmittedTest.php +++ b/lib/translator/tests/AssignmentSubmittedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\AssignmentSubmitted as Event; class AssignmentSubmittedTest extends ModuleViewedTest { - protected static $recipe_name = 'assignment_submitted'; + protected static $recipeName = 'assignment_submitted'; /** * Sets up the tests. diff --git a/lib/translator/tests/AttemptAbandonedTest.php b/lib/translator/tests/AttemptAbandonedTest.php index 2c56c9a48542a415db891d23b07d4978eb9805f6..37d56c59a508669603fd032cb1bb94fb871c8e52 100644 --- a/lib/translator/tests/AttemptAbandonedTest.php +++ b/lib/translator/tests/AttemptAbandonedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\AttemptAbandoned as Event; class AttemptAbandonedTest extends AttemptReviewedTest { - protected static $recipe_name = 'attempt_abandoned'; + protected static $recipeName = 'attempt_abandoned'; /** * Sets up the tests. diff --git a/lib/translator/tests/AttemptReviewedTest.php b/lib/translator/tests/AttemptReviewedTest.php index cae7db728c65949e4b2e8d3447c66de312505fc0..a9ed8c924e92e49fb15e0f70b64808cab0ad6f5e 100644 --- a/lib/translator/tests/AttemptReviewedTest.php +++ b/lib/translator/tests/AttemptReviewedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\AttemptReviewed as Event; class AttemptReviewedTest extends AttemptStartedTest { - protected static $recipe_name = 'attempt_completed'; + protected static $recipeName = 'attempt_completed'; /** * Sets up the tests. diff --git a/lib/translator/tests/AttemptStartedTest.php b/lib/translator/tests/AttemptStartedTest.php index 3179907e565eab8b450d727a2e9235df3fc17ef2..4250de710f15c7163e14a58f660a8b66d5dc4216 100644 --- a/lib/translator/tests/AttemptStartedTest.php +++ b/lib/translator/tests/AttemptStartedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\AttemptStarted as Event; class AttemptStartedTest extends ModuleViewedTest { - protected static $recipe_name = 'attempt_started'; + protected static $recipeName = 'attempt_started'; /** * Sets up the tests. diff --git a/lib/translator/tests/CourseCompletedTest.php b/lib/translator/tests/CourseCompletedTest.php index adccd6447a8ee6a7869240a82dc05c5c3c72e865..70f306759776c82d3a9ca15aba833a0e10da0eca 100644 --- a/lib/translator/tests/CourseCompletedTest.php +++ b/lib/translator/tests/CourseCompletedTest.php @@ -10,7 +10,7 @@ class CourseCompletedTest extends EventTest { /** * @var string */ - protected static $recipe_name = 'course_completed'; + protected static $recipeName = 'course_completed'; /** * Sets up the tests. diff --git a/lib/translator/tests/CourseViewedTest.php b/lib/translator/tests/CourseViewedTest.php index 616bcefa501d7c766445c6587d7dbae9826e8752..47be03bdc9bcc69278e7bf0c29dee37e799269cb 100644 --- a/lib/translator/tests/CourseViewedTest.php +++ b/lib/translator/tests/CourseViewedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\CourseViewed as Event; class CourseViewedTest extends UserEventTest { - protected static $recipe_name = 'course_viewed'; + protected static $recipeName = 'course_viewed'; /** * Sets up the tests. diff --git a/lib/translator/tests/DiscussionViewedTest.php b/lib/translator/tests/DiscussionViewedTest.php index 26a41d36c1311d98ac94f28b36a9551f52dd4609..2b6149364172b1c9b566d65ebdb82231fa65f945 100644 --- a/lib/translator/tests/DiscussionViewedTest.php +++ b/lib/translator/tests/DiscussionViewedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\DiscussionViewed as Event; class DiscussionViewedTest extends ModuleViewedTest { - protected static $recipe_name = 'discussion_viewed'; + protected static $recipeName = 'discussion_viewed'; /** * Sets up the tests. diff --git a/lib/translator/tests/EnrolmentCreatedTest.php b/lib/translator/tests/EnrolmentCreatedTest.php index 221dc2ef28e0dc4f8d76797df0e7a706365e807e..c17ec12a3d57eb843dcf50d8ef010787f89447fb 100644 --- a/lib/translator/tests/EnrolmentCreatedTest.php +++ b/lib/translator/tests/EnrolmentCreatedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\EnrolmentCreated as Event; class EnrolmentCreatedTest extends EventTest { - protected static $recipe_name = 'enrolment_created'; + protected static $recipeName = 'enrolment_created'; /** * Sets up the tests. diff --git a/lib/translator/tests/EventTest.php b/lib/translator/tests/EventTest.php index 29753e22d2383f5b6a01863aa047dad9c40d75f5..49ce6b50366e8b7aec8c4404a0ee9a807912ccb4 100644 --- a/lib/translator/tests/EventTest.php +++ b/lib/translator/tests/EventTest.php @@ -4,7 +4,7 @@ use \MXTranslator\Events\Event as Event; abstract class EventTest extends PhpUnitTestCase { protected static $xapiType = 'http://lrs.learninglocker.net/define/type/moodle/'; - protected static $recipe_name; + protected static $recipeName; /** * Sets up the tests. @@ -105,7 +105,7 @@ abstract class EventTest extends PhpUnitTestCase { protected function assertOutput($input, $output) { $this->assertApp($input['app'], $output, 'app'); $this->assertEvent($input['event'], $output); - $this->assertEquals(static::$recipe_name, $output['recipe']); + $this->assertEquals(static::$recipeName, $output['recipe']); $this->assertInfo($input['info'], $output['context_info']); } diff --git a/lib/translator/tests/FacetofaceAttendedTest.php b/lib/translator/tests/FacetofaceAttendedTest.php index dd16eea887e0a198d89a90fb94ab7556fad90cca..6b4cf6d07873b7094dfcaea50883d103b373e203 100644 --- a/lib/translator/tests/FacetofaceAttendedTest.php +++ b/lib/translator/tests/FacetofaceAttendedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\FacetofaceAttend as Event; class FacetofaceAttendTest extends FacetofaceEnrolTest { - protected static $recipe_name = 'training_session_attend'; + protected static $recipeName = 'training_session_attend'; /** * Sets up the tests. diff --git a/lib/translator/tests/FacetofaceEnrolTest.php b/lib/translator/tests/FacetofaceEnrolTest.php index 5fe872a0f944362225e78f21ae91be5dda0118c0..c8b2dc0713a22cc8ea896ae50930d210413aef50 100644 --- a/lib/translator/tests/FacetofaceEnrolTest.php +++ b/lib/translator/tests/FacetofaceEnrolTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\FacetofaceEnrol as Event; class FacetofaceEnrolTest extends ModuleViewedTest { - protected static $recipe_name = 'training_session_enrol'; + protected static $recipeName = 'training_session_enrol'; /** * Sets up the tests. diff --git a/lib/translator/tests/FacetofaceUnernrolTest.php b/lib/translator/tests/FacetofaceUnernrolTest.php index 1c85c008e57da1745a2660be1c43e21a38cbd0e5..cf3c73f4fc3b2e620ac3497cb2cbd301b277af86 100644 --- a/lib/translator/tests/FacetofaceUnernrolTest.php +++ b/lib/translator/tests/FacetofaceUnernrolTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\FacetofaceUnenrol as Event; class FacetofaceUnenrolTest extends FacetofaceEnrolTest { - protected static $recipe_name = 'training_session_unenrol'; + protected static $recipeName = 'training_session_unenrol'; /** * Sets up the tests. diff --git a/lib/translator/tests/FeedbackQuestionSubmittedTest.php b/lib/translator/tests/FeedbackQuestionSubmittedTest.php index ca92fe2aa8fe05996c111bdc8e9ccdf1254b1eec..cd9f438ed19ce98e4d7e5e5dae2b92609384f071 100644 --- a/lib/translator/tests/FeedbackQuestionSubmittedTest.php +++ b/lib/translator/tests/FeedbackQuestionSubmittedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\FeedbackQuestionSubmitted as Event; class FeedbackQuestionSubmittedTest extends FeedbackSubmittedTest { - protected static $recipe_name = 'attempt_question_completed'; + protected static $recipeName = 'attempt_question_completed'; /** * Sets up the tests. diff --git a/lib/translator/tests/FeedbackSubmittedTest.php b/lib/translator/tests/FeedbackSubmittedTest.php index 875b50124a0df9cbac127ca95661041ce089429e..651e16f8b1990335bdb6e73d7eb896c04f8b8492 100644 --- a/lib/translator/tests/FeedbackSubmittedTest.php +++ b/lib/translator/tests/FeedbackSubmittedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\FeedbackSubmitted as Event; class FeedbackSubmittedTest extends ModuleViewedTest { - protected static $recipe_name = 'attempt_completed'; + protected static $recipeName = 'attempt_completed'; /** * Sets up the tests. diff --git a/lib/translator/tests/ModuleViewedTest.php b/lib/translator/tests/ModuleViewedTest.php index 5674682d34d245ae7b4c7d2facf382d0ddf949a0..59d5e540f6b77c4ad156cc9a28415863f830febc 100644 --- a/lib/translator/tests/ModuleViewedTest.php +++ b/lib/translator/tests/ModuleViewedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\ModuleViewed as Event; class ModuleViewedTest extends CourseViewedTest { - protected static $recipe_name = 'module_viewed'; + protected static $recipeName = 'module_viewed'; /** * Sets up the tests. diff --git a/lib/translator/tests/QuestionSubmittedTest.php b/lib/translator/tests/QuestionSubmittedTest.php index f73e2625e73d736d94c67b9f9a4565ad906248a4..9b230fdc0363ac6c6e99cc6906f84cc0408897b2 100644 --- a/lib/translator/tests/QuestionSubmittedTest.php +++ b/lib/translator/tests/QuestionSubmittedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\QuestionSubmitted as Event; class QuestionSubmittedTest extends AttemptStartedTest { - protected static $recipe_name = 'attempt_question_completed'; + protected static $recipeName = 'attempt_question_completed'; /** * Sets up the tests. diff --git a/lib/translator/tests/ScormEventTest.php b/lib/translator/tests/ScormEventTest.php index 9ca2b07e80d7155b9a114bae89e5c605466bc6c8..32abe2ba2a8876749e24b83fe122ca6d27e46b8a 100644 --- a/lib/translator/tests/ScormEventTest.php +++ b/lib/translator/tests/ScormEventTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\ScormEvent as Event; class ScormEventTest extends ModuleViewedTest { - protected static $recipe_name = 'scorm_event'; + protected static $recipeName = 'scorm_event'; /** * Sets up the tests. diff --git a/lib/translator/tests/ScormLaunchedTest.php b/lib/translator/tests/ScormLaunchedTest.php index ba327c391957371c6f5193d0d12b688ddb61f471..9c5610e55f9c09471d48494656d1bde23e1d54b5 100644 --- a/lib/translator/tests/ScormLaunchedTest.php +++ b/lib/translator/tests/ScormLaunchedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\ScormLaunched as Event; class ScormLaunchedTest extends ModuleViewedTest { - protected static $recipe_name = 'scorm_launched'; + protected static $recipeName = 'scorm_launched'; /** * Sets up the tests. diff --git a/lib/translator/tests/ScormScoreRawSubmittedTest.php b/lib/translator/tests/ScormScoreRawSubmittedTest.php index 5e748b1e487fecc31eb21bebbab0cc7185620786..17cb72c11057a2c5c3824301bc617983e8eda7b7 100644 --- a/lib/translator/tests/ScormScoreRawSubmittedTest.php +++ b/lib/translator/tests/ScormScoreRawSubmittedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\ScormScoreRawSubmitted as Event; class ScormScoreRawSubmittedTest extends ScormEventTest { - protected static $recipe_name = 'scorm_scoreraw_submitted'; + protected static $recipeName = 'scorm_scoreraw_submitted'; /** * Sets up the tests. diff --git a/lib/translator/tests/ScormStatusSubmittedTest.php b/lib/translator/tests/ScormStatusSubmittedTest.php index 7d9ef17aeaa17247add3f0681e1688e20c684a8c..4b800f0d815eb4a1cec075b8f317b45190b6f4d4 100644 --- a/lib/translator/tests/ScormStatusSubmittedTest.php +++ b/lib/translator/tests/ScormStatusSubmittedTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\ScormStatusSubmitted as Event; class ScormStatusSubmittedTest extends ScormEventTest { - protected static $recipe_name = 'scorm_status_submitted'; + protected static $recipeName = 'scorm_status_submitted'; /** * Sets up the tests. diff --git a/lib/translator/tests/UserLoggedinTest.php b/lib/translator/tests/UserLoggedinTest.php index 751f55ef3217bf9ceab90676c2815cbfd73efa4e..c69d04e8dbb5ac3cd5f067948e7cbc6855645a99 100644 --- a/lib/translator/tests/UserLoggedinTest.php +++ b/lib/translator/tests/UserLoggedinTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\UserLoggedin as Event; class UserLoggedinTest extends UserEventTest { - protected static $recipe_name = 'user_loggedin'; + protected static $recipeName = 'user_loggedin'; /** * Sets up the tests. diff --git a/lib/translator/tests/UserLoggedoutTest.php b/lib/translator/tests/UserLoggedoutTest.php index 18b51bb64a7e5c1d0f808ad1dcd65e5fc9fe99a9..9a1aca106eb8d6f4d2597043dd3a45f7826757b8 100644 --- a/lib/translator/tests/UserLoggedoutTest.php +++ b/lib/translator/tests/UserLoggedoutTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\UserLoggedout as Event; class UserLoggedoutTest extends UserEventTest { - protected static $recipe_name = 'user_loggedout'; + protected static $recipeName = 'user_loggedout'; /** * Sets up the tests. diff --git a/lib/translator/tests/UserRegisteredTest.php b/lib/translator/tests/UserRegisteredTest.php index 96e81320b2345b3ce425785ec8eef747deb77191..50121f4bfe2f9da3920385b528826a4a6dedc4fc 100644 --- a/lib/translator/tests/UserRegisteredTest.php +++ b/lib/translator/tests/UserRegisteredTest.php @@ -2,7 +2,7 @@ use \MXTranslator\Events\UserRegistered as Event; class UserRegisteredTest extends EventTest { - protected static $recipe_name = 'user_registered'; + protected static $recipeName = 'user_registered'; /** * Sets up the tests.