Skip to content

Commit

Permalink
use actual transaction id-like value - fixes #268
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Oct 30, 2014
1 parent dcae4b7 commit 5cf6ff3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/datastore/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ describe('Request', function() {

describe('commit', function() {
it('should attach transactional properties', function(done) {
request.id = 'transaction-id';
request.id = 'EeMXCSGvwcSWGkkABRmGMTWdbi_pa66VflNhQAGblQFMXf9HrmNGa' +
'GugEsO1M2_2x7wZvLencG51uwaDOTZCjTkkRh7bw_oyKUgTmtJ0iWJwath7';
var expected = new pb.CommitRequest({
mode: 'TRANSACTIONAL',
transaction: request.id
Expand Down Expand Up @@ -473,7 +474,8 @@ describe('Request', function() {

describe('lookup', function() {
it('should attach transactional properties', function(done) {
request.id = 'transaction-id';
request.id = 'EeMXCSGvwcSWGkkABRmGMTWdbi_pa66VflNhQAGblQFMXf9HrmNGa' +
'GugEsO1M2_2x7wZvLencG51uwaDOTZCjTkkRh7bw_oyKUgTmtJ0iWJwath7';
var expected = new pb.LookupRequest({
read_options: {
transaction: request.id
Expand Down

0 comments on commit 5cf6ff3

Please sign in to comment.