]> git.evergreen-ils.org Git - OpenSRF.git/commit
Sidestep JSON object ordering in unit tests
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Apr 2011 04:14:11 +0000 (04:14 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Apr 2011 04:14:11 +0000 (04:14 +0000)
commitc5d76a21c70d23cd3be1a341dafd044d24c21fb1
tree35086a6e390a1a4ac10433c943bed852e475016f
parent2c98180f36dabf5952361cd11e2290b864815b6e
Sidestep JSON object ordering in unit tests

Depending on the JS engine and version of Dojo, the order
of attributes in JSON objects may change (as is explicitly
allowed by the JSON spec). To avoid false test failures,
only use one attribute in the object.

git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/rel_2_0@2233 9efc2488-bf62-4759-914b-345cdb29e865
src/javascript/tests/testJSON_v1.js