Skip to content

Commit

Permalink
GO-3788 Fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillSto committed Jul 29, 2024
1 parent e3e43f5 commit ff0042b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions core/block/editor/basic/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving non-root table block '"+block+"' leads to error", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -394,7 +394,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("no error on moving root table block", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -408,7 +408,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("no error on moving one row between another", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -422,7 +422,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving rows with incorrect position leads to error", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -435,7 +435,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving rows and some other blocks between another leads to error", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -448,7 +448,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving the row between itself leads to error", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -461,7 +461,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving table block from invalid table leads to error", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()
st.Unlink("columns")

Expand All @@ -477,7 +477,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving a block to '"+block+"' block leads to moving it under the table", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()

// when
Expand All @@ -492,7 +492,7 @@ func TestBasic_MoveTableBlocks(t *testing.T) {
t.Run("moving a block to the invalid table leads to moving it under the table", func(t *testing.T) {
// given
sb := getSB()
b := NewBasic(sb, nil, converter.NewLayoutConverter())
b := NewBasic(sb, nil, converter.NewLayoutConverter(), nil)
st := sb.NewState()
st.Unlink("columns")

Expand Down

0 comments on commit ff0042b

Please sign in to comment.