Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-xapi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quentin Pimont
moodle-xapi
Commits
4a59636e
Commit
4a59636e
authored
8 years ago
by
lee.kirkland
Browse files
Options
Downloads
Patches
Plain Diff
Test for course_completed added.
parent
58a17c7b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
tests/CourseCompletedTest.php
+21
-0
21 additions, 0 deletions
tests/CourseCompletedTest.php
with
23 additions
and
1 deletion
.gitignore
+
2
−
1
View file @
4a59636e
...
...
@@ -3,4 +3,5 @@
*.sublime-workspace
vendor
classes/log/error_log.txt
composer.phar
\ No newline at end of file
composer.phar
.idea/
This diff is collapsed.
Click to expand it.
tests/CourseCompletedTest.php
0 → 100644
+
21
−
0
View file @
4a59636e
<?php
/**
* Created by PhpStorm.
* User: lee.kirkland
* Date: 5/26/2016
* Time: 9:29 AM
*/
namespace
Tests
;
class
CourseCompletedTest
extends
TestCase
{
protected
function
constructInput
()
{
return
array_merge
(
parent
::
constructInput
(),
[
'objecttable'
=>
'course_completed'
,
'objectid'
=>
1
,
'eventname'
=>
'\core\event\course_completed'
,
]);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment