Skip to content

Commit

Permalink
Merge pull request #23 from pinax-network/fix/tests
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
fschoell authored Oct 30, 2024
2 parents 6ac797e + c9ad5ff commit 0026b4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.22.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
Expand Down
8 changes: 4 additions & 4 deletions sinker/sinker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func insertRowSinglePK(table string, pk string, fieldsAndValues ...string) *pbda
PrimaryKey: &pbdatabase.TableChange_Pk{
Pk: pk,
},
Operation: pbdatabase.TableChange_CREATE,
Operation: pbdatabase.TableChange_OPERATION_CREATE,
Fields: getFields(fieldsAndValues...),
}
}
Expand All @@ -306,7 +306,7 @@ func insertRowMultiplePK(table string, pk map[string]string, fieldsAndValues ...
Keys: pk,
},
},
Operation: pbdatabase.TableChange_CREATE,
Operation: pbdatabase.TableChange_OPERATION_CREATE,
Fields: getFields(fieldsAndValues...),
}
}
Expand All @@ -319,7 +319,7 @@ func updateRowMultiplePK(table string, pk map[string]string, fieldsAndValues ...
Keys: pk,
},
},
Operation: pbdatabase.TableChange_UPDATE,
Operation: pbdatabase.TableChange_OPERATION_UPDATE,
Fields: getFields(fieldsAndValues...),
}
}
Expand All @@ -331,7 +331,7 @@ func deleteRowMultiplePK(table string, pk map[string]string) *pbdatabase.TableCh
Keys: pk,
},
},
Operation: pbdatabase.TableChange_DELETE,
Operation: pbdatabase.TableChange_OPERATION_DELETE,
}
}

Expand Down

0 comments on commit 0026b4e

Please sign in to comment.