Skip to content

Commit

Permalink
test: Minor logs added
Browse files Browse the repository at this point in the history
  • Loading branch information
aseure committed May 7, 2018
1 parent cb025d7 commit fcd7eef
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions algoliasearch/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1249,8 +1249,7 @@ func TestBatchPartialUpdate(t *testing.T) {

var objectID string

// Add the object that will get partially updated

t.Log("Add the object that will get partially updated")
{
object := Object{
"replace": 10,
Expand All @@ -1274,8 +1273,7 @@ func TestBatchPartialUpdate(t *testing.T) {
objectID = res.ObjectID
}

// Partially update all the fields via a Batch

t.Log("Partially update all the fields via a Batch")
{
batchOps := []BatchOperation{
{
Expand Down Expand Up @@ -1303,8 +1301,7 @@ func TestBatchPartialUpdate(t *testing.T) {
waitTask(t, i, res.TaskID)
}

// Check the final object

t.Log("Check the final object")
{
object, err := i.GetObject(objectID, nil)

Expand Down

0 comments on commit fcd7eef

Please sign in to comment.