Fossil SCM
Fixed one of the JSON test assertions (broken by API changes).
Commit
5040705dfa6cb5c8fbffd9798a17c3163fe54c8f
Parent
04ab1af3e02ff47…
1 file changed
+1
-1
+1
-1
| --- ajax/i-test/rhino-test.js | ||
| +++ ajax/i-test/rhino-test.js | ||
| @@ -183,11 +183,11 @@ | ||
| 183 | 183 | onResponse:function(resp,req){ |
| 184 | 184 | rs = resp; |
| 185 | 185 | } |
| 186 | 186 | }); |
| 187 | 187 | assertResponseOK(rs); |
| 188 | - assert(3 == rs.payload.artifact.parents.length, 'Got 3 parent artifacts.'); | |
| 188 | + assert(3 == rs.payload.parents.length, 'Got 3 parent artifacts.'); | |
| 189 | 189 | } |
| 190 | 190 | testFetchCheckinArtifact.description = '/json/artifact/CHECKIN'; |
| 191 | 191 | |
| 192 | 192 | function testAnonLogout(){ |
| 193 | 193 | var rs; |
| 194 | 194 |
| --- ajax/i-test/rhino-test.js | |
| +++ ajax/i-test/rhino-test.js | |
| @@ -183,11 +183,11 @@ | |
| 183 | onResponse:function(resp,req){ |
| 184 | rs = resp; |
| 185 | } |
| 186 | }); |
| 187 | assertResponseOK(rs); |
| 188 | assert(3 == rs.payload.artifact.parents.length, 'Got 3 parent artifacts.'); |
| 189 | } |
| 190 | testFetchCheckinArtifact.description = '/json/artifact/CHECKIN'; |
| 191 | |
| 192 | function testAnonLogout(){ |
| 193 | var rs; |
| 194 |
| --- ajax/i-test/rhino-test.js | |
| +++ ajax/i-test/rhino-test.js | |
| @@ -183,11 +183,11 @@ | |
| 183 | onResponse:function(resp,req){ |
| 184 | rs = resp; |
| 185 | } |
| 186 | }); |
| 187 | assertResponseOK(rs); |
| 188 | assert(3 == rs.payload.parents.length, 'Got 3 parent artifacts.'); |
| 189 | } |
| 190 | testFetchCheckinArtifact.description = '/json/artifact/CHECKIN'; |
| 191 | |
| 192 | function testAnonLogout(){ |
| 193 | var rs; |
| 194 |