Code Duplication    Length = 4-4 lines in 2 locations

tests/model/SQLSelectTest.php 2 locations

@@ 133-136 (lines=4) @@
130
	}
131
132
	public function testSelectWithLimitClause() {
133
		if(!(DB::get_conn() instanceof MySQLDatabase || DB::get_conn() instanceof SQLite3Database
134
				|| DB::get_conn() instanceof PostgreSQLDatabase)) {
135
			$this->markTestIncomplete();
136
		}
137
138
		$query = new SQLSelect();
139
		$query->setFrom("MyTable");
@@ 238-241 (lines=4) @@
235
	}
236
237
	public function testZeroLimitWithOffset() {
238
		if(!(DB::get_conn() instanceof MySQLDatabase || DB::get_conn() instanceof SQLite3Database
239
				|| DB::get_conn() instanceof PostgreSQLDatabase)) {
240
			$this->markTestIncomplete();
241
		}
242
243
		$query = new SQLSelect();
244
		$query->setFrom("MyTable");