From ed054e67d60e8ad8074b38842935e5dff927350c Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Fri, 2 Aug 2013 20:10:26 +0200
Subject: [PATCH] DB: remove invalid asserts

---
 tests/lib/db.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/lib/db.php b/tests/lib/db.php
index 79e05f30a1..51edbf7b30 100644
--- a/tests/lib/db.php
+++ b/tests/lib/db.php
@@ -76,13 +76,11 @@ class Test_DB extends PHPUnit_Framework_TestCase {
 		$query = OC_DB::prepare('INSERT INTO `*PREFIX*'.$this->table2.'` (`fullname`,`uri`) VALUES (?,?)');
 		$result1 = OC_DB::executeAudited($query, array('insertid 1','uri_1'));
 		$id1 = OC_DB::insertid('*PREFIX*'.$this->table2);
-		$this->assertInternalType('int', $id1);
 		
 		// we don't know the id we should expect, so insert another row
 		$result2 = OC_DB::executeAudited($query, array('insertid 2','uri_2'));
 		$id2 = OC_DB::insertid('*PREFIX*'.$this->table2);
 		// now we can check if the two ids are in correct order
-		$this->assertInternalType('int', $id2);
 		$this->assertGreaterThan($id1, $id2);
 	}
 	
-- 
GitLab