silverstripe/sapphire — pull request #72 by stojg (2011-10-25 10:37:03+00:00)
Title: MINOR Fix test to use the non deprecated way of fetching database records

Dataobject#buildSQL is deprecated, use DataObject::get() instead, with the new data mapper there's no reason not to.