Skip to content

Commit 631304a

Browse files
committed
test fix
1 parent e744f81 commit 631304a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/CatalogV2UtilSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import org.apache.spark.sql.types.StructType
2727
class CatalogV2UtilSuite extends SparkFunSuite {
2828
test("Load relation should encode the identifiers for V2Relations") {
2929
val testCatalog = mock(classOf[TableCatalog])
30-
val ident = mock(classOf[Identifier])
30+
val ident = Identifier.of(Array("ns1", "ns2"), "tbl")
3131
val table = mock(classOf[Table])
3232
when(table.schema()).thenReturn(mock(classOf[StructType]))
3333
when(testCatalog.loadTable(ident)).thenReturn(table)

0 commit comments

Comments
 (0)