Index: tests/block.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/Attic/block.test,v
retrieving revision 1.1.2.1.2.2
diff -p -u -r1.1.2.1.2.2 block.test
--- tests/block.test	23 Apr 2009 05:39:52 -0000	1.1.2.1.2.2
+++ tests/block.test	27 May 2009 16:15:19 -0000
@@ -79,7 +79,7 @@ class BlockTestCase extends DrupalWebTes
     // Set block title to confirm that interface works and override any custom titles.
     $this->drupalPost('admin/build/block/configure/'. $block['module'] .'/'. $block['delta'], array('title' => $block['title']), t('Save block'));
     $this->assertText(t('The block configuration has been saved.'), t('Block title set.'));
-    $bid = db_result(db_query("SELECT bid FROM {blocks} WHERE module = '%s' AND delta = %d", array($block['module'], $block['delta'])));
+    $bid = db_result(db_query("SELECT bid FROM {blocks} WHERE module = '%s' AND delta = '%s'", array($block['module'], $block['delta'])));
 
     // Check to see if the block was created by checking that it's in the database.
     $this->assertNotNull($bid, t('Block found in database'));
