fixed import in sql tests after cherry pick
@@ -24,7 +24,6 @@ import com.orientechnologies.orient.core.Orient;
import com.orientechnologies.orient.core.db.ODatabaseInternal;
import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;
import com.orientechnologies.orient.core.db.record.OIdentifiable;
-import com.orientechnologies.orient.core.id.ORID;
import com.orientechnologies.orient.core.intent.OIntentMassiveInsert;
import com.orientechnologies.orient.core.iterator.ORecordIteratorClass;
import com.orientechnologies.orient.core.metadata.schema.OClass;
@@ -1486,9 +1485,9 @@ public class OCommandExecutorSQLSelectTest {
db.command(new OCommandSQL("update " + className + " SET tagz.foo = [{name:'a', surname:'b'}, {name:'c', surname:'d'}]")).execute();
List<ODocument> results = db.query(new OSQLSynchQuery<ODocument>("select tagz.values()[0][name = 'a'] as t from "+className));
- Assert.assertEquals(results.size(), 1);
+ assertEquals(results.size(), 1);
Map map = results.get(0).field("t");
- Assert.assertEquals(map.get("surname"), "b");
+ assertEquals(map.get("surname"), "b");
}
private long indexUsages(ODatabaseDocumentTx db) {
