Skip to content

Commit ad73238

Browse files
committed
add conformance test fixtures
This adds most of the fixtures that are part of the xAPI conformance test library (see https://github.com/adlnet/xAPI_LRS_Test).
1 parent 2d8831d commit ad73238

File tree

109 files changed

+1075
-277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1075
-277
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"require": {
1515
"php": ">=5.3.0",
16-
"php-xapi/model": "^0.2.0"
16+
"php-xapi/model": "^0.3.0"
1717
},
1818
"autoload": {
1919
"psr-4": {
@@ -22,7 +22,7 @@
2222
},
2323
"extra": {
2424
"branch-alias": {
25-
"dev-master": "0.1.x-dev"
25+
"dev-master": "0.2.x-dev"
2626
}
2727
}
2828
}

data/Account/consumer_account.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"homePage": "https://tincanapi.com/OAuth/Token",
3+
"name": "oauth_consumer_x75db"
4+
}

data/Account/typical_account.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "test",
3+
"homePage": "https://tincanapi.com"
4+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"id": "http://tincanapi.com/conformancetest/activityid",
3+
"objectType": "Activity",
4+
"definition": {
5+
}
6+
}

data/Activity/id_activity.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"id": "http://tincanapi.com/conformancetest/activityid"
3+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"id": "http://tincanapi.com/conformancetest/activityid",
3+
"objectType": "Activity"
4+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "http://tincanapi.com/conformancetest/activityid",
3+
"definition": {
4+
}
5+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"id": "http://tincanapi.com/conformancetest/activityid",
3+
"definition": {
4+
},
5+
"objectType": "Activity"
6+
}

data/Activity/typical_activity.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"id": "http://tincanapi.com/conformancetest/activityid",
3+
"objectType": "Activity"
4+
}

0 commit comments

Comments
 (0)