Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusmelke committed Dec 4, 2017
1 parent 50e17c8 commit e99b322
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ public void shouldSeeAddedPropertyFromExistingNodeWithoutPropertiesInTransaction
// When/Then
try ( Transaction tx = session.beginTransaction() )
{

int propToken = session.token().propertyKeyGetOrCreateForName( propKey );
assertEquals( tx.dataWrite().nodeSetProperty( nodeId, propToken, stringValue( "hello" ) ), NO_VALUE );

Expand Down Expand Up @@ -288,7 +287,6 @@ public void shouldSeeAddedPropertyFromExistingNodeWithPropertiesInTransaction()
// When/Then
try ( Transaction tx = session.beginTransaction() )
{

propToken2 = session.token().propertyKeyGetOrCreateForName( propKey2 );
assertEquals( tx.dataWrite().nodeSetProperty( nodeId, propToken2, stringValue( "world" ) ), NO_VALUE );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,6 @@ public CapableIndexReference index( int label, int... properties )

private void assertOpen()
{
if ( !ktx.isOpen() )
{
throw new NotInTransactionException( "The transaction has been closed." );
}

Optional<Status> terminationReason = ktx.getReasonIfTerminated();
if ( terminationReason.isPresent() )
{
Expand Down

0 comments on commit e99b322

Please sign in to comment.