Removes logs

This commit is contained in:
Vitor Pamplona
2025-12-31 13:37:02 -05:00
parent 780ea487aa
commit 4f7972df90
@@ -25,6 +25,7 @@ import androidx.test.core.app.ApplicationProvider
import com.vitorpamplona.quartz.nip01Core.relay.filters.Filter import com.vitorpamplona.quartz.nip01Core.relay.filters.Filter
import com.vitorpamplona.quartz.nip02FollowList.ContactListEvent import com.vitorpamplona.quartz.nip02FollowList.ContactListEvent
import junit.framework.TestCase import junit.framework.TestCase
import junit.framework.TestCase.assertEquals
import org.junit.After import org.junit.After
import org.junit.Assert import org.junit.Assert
import org.junit.Before import org.junit.Before
@@ -337,9 +338,6 @@ class QueryAssemblerTest {
), ),
), ),
) )
println(sql)
TestCase.assertEquals( TestCase.assertEquals(
""" """
SELECT id, pubkey, created_at, kind, tags, content, sig FROM event_headers SELECT id, pubkey, created_at, kind, tags, content, sig FROM event_headers
@@ -512,7 +510,6 @@ class QueryAssemblerTest {
@Test @Test
fun testAllTag() { fun testAllTag() {
val sql = explain(Filter(tagsAll = mapOf("p" to listOf(key1, key2)))) val sql = explain(Filter(tagsAll = mapOf("p" to listOf(key1, key2))))
println(sql)
TestCase.assertEquals( TestCase.assertEquals(
""" """
SELECT id, pubkey, created_at, kind, tags, content, sig FROM event_headers SELECT id, pubkey, created_at, kind, tags, content, sig FROM event_headers
@@ -547,10 +544,7 @@ class QueryAssemblerTest {
limit = 500, limit = 500,
), ),
) )
assertEquals(
println(sql)
TestCase.assertEquals(
""" """
SELECT id, pubkey, created_at, kind, tags, content, sig FROM event_headers SELECT id, pubkey, created_at, kind, tags, content, sig FROM event_headers
INNER JOIN ( INNER JOIN (