Explorar o código

[spod] Tests: Delete table if already exists

Cauê Waneck %!s(int64=10) %!d(string=hai) anos
pai
achega
156f624105
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tests/unit/src/unit/TestSpod.hx

+ 2 - 0
tests/unit/src/unit/TestSpod.hx

@@ -22,6 +22,8 @@ class TestSpod extends Test
 		try cnx.request('DROP TABLE MySpodClass') catch(e:Dynamic) {}
 		try cnx.request('DROP TABLE MySpodClass') catch(e:Dynamic) {}
 		try cnx.request('DROP TABLE OtherSpodClass') catch(e:Dynamic) {}
 		try cnx.request('DROP TABLE OtherSpodClass') catch(e:Dynamic) {}
 		try cnx.request('DROP TABLE NullableSpodClass') catch(e:Dynamic) {}
 		try cnx.request('DROP TABLE NullableSpodClass') catch(e:Dynamic) {}
+		try cnx.request('DROP TABLE ClassWithStringId') catch(e:Dynamic) {}
+		try cnx.request('DROP TABLE ClassWithStringIdRef') catch(e:Dynamic) {}
 		TableCreate.create(MySpodClass.manager);
 		TableCreate.create(MySpodClass.manager);
 		TableCreate.create(OtherSpodClass.manager);
 		TableCreate.create(OtherSpodClass.manager);
 		TableCreate.create(NullableSpodClass.manager);
 		TableCreate.create(NullableSpodClass.manager);