Code Duplication    Length = 4-4 lines in 2 locations

tests/model/SQLQueryTest.php 2 locations

@@ 110-113 (lines=4) @@
107
	}
108
109
	public function testSelectWithLimitClause() {
110
		if(!(DB::get_conn() instanceof MySQLDatabase || DB::get_conn() instanceof SQLite3Database
111
				|| DB::get_conn() instanceof PostgreSQLDatabase)) {
112
			$this->markTestIncomplete();
113
		}
114
115
		$query = new SQLQuery();
116
		$query->setFrom("MyTable");
@@ 215-218 (lines=4) @@
212
	}
213
214
	public function testZeroLimitWithOffset() {
215
		if(!(DB::get_conn() instanceof MySQLDatabase || DB::get_conn() instanceof SQLite3Database
216
				|| DB::get_conn() instanceof PostgreSQLDatabase)) {
217
			$this->markTestIncomplete();
218
		}
219
220
		$query = new SQLQuery();
221
		$query->setFrom("MyTable");