Index: modules/block/block.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.test,v
retrieving revision 1.64
diff -u -p -r1.64 block.test
--- modules/block/block.test	29 Nov 2010 06:38:51 -0000	1.64
+++ modules/block/block.test	7 Jan 2011 15:00:08 -0000
@@ -76,7 +76,7 @@ class BlockTestCase extends DrupalWebTes
     $bid = db_query("SELECT bid FROM {block_custom} WHERE info = :info", array(':info' => $custom_block['info']))->fetchField();
 
     // Check to see if the custom block was created by checking that it's in the database.
-    $this->assertNotNull($bid, t('Custom block found in database'));
+    $this->assertTrue($bid, t('Custom block found in database'));
 
     // Check that block_block_view() returns the correct title and content.
     $data = block_block_view($bid);
@@ -263,7 +263,7 @@ class BlockTestCase extends DrupalWebTes
     ))->fetchField();
 
     // Check to see if the block was created by checking that it's in the database.
-    $this->assertNotNull($bid, t('Block found in database'));
+    $this->assertTrue($bid, t('Block found in database'));
 
     // Check if the block can be moved to all availble regions.
     foreach ($this->regions as $region) {
