diff --git a/tests/lib/appframework/db/MapperTest.php b/tests/lib/appframework/db/MapperTest.php
index 015528dd2e43a5c1857b91d8fa618d320abb3aaa..c4eb35a068e6980bb8d27669f5afacbd52d15352 100644
--- a/tests/lib/appframework/db/MapperTest.php
+++ b/tests/lib/appframework/db/MapperTest.php
@@ -197,12 +197,6 @@ class MapperTest extends MapperTestUtility {
 
 
 	public function testUpdateNoId(){
-		$sql = 'UPDATE `*PREFIX*table` ' .
-				'SET ' .
-				'`pre_name` = ?,'.
-				'`email` = ? ' .
-				'WHERE `id` = ?';
-
 		$params = array('john', 'my@email');
 		$entity = new Example();
 		$entity->setPreName($params[0]);