Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
tests
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2008 at 02:18 UTC
Updated:
18 Dec 2008 at 12:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
benshell commentedHere's a patch to do basic testing that the request succeeds and returns valid JSON data.
Comment #2
chx commentedGreat! Our first JSON test. Love it. Can we make it even better by asserting that the data is what we want? Just some preg or raw checks for the name of the fields?
Comment #3
cwgordon7 commentedAlso this should go in modules/poll/poll.test rather than in modules/simpletest/tests/poll_js_add_choice.test.
Comment #4
chx commentedhttp://drupal.org/node/331708#comment-1160933