@@ -93,7 +93,7 @@ class IndexTests: XCTestCase {
9393 func testAddWithObjectID( ) {
9494 let expectation = expectationWithDescription ( " testAddWithObjectID " )
9595 let object = [ " city " : " San José " ]
96- let objectID = " a/go/?à-2 "
96+ let objectID = " a/go/?à "
9797
9898 index. addObject ( object, withID: objectID, block: { ( JSON, error) -> Void in
9999 if let error = error {
@@ -184,7 +184,7 @@ class IndexTests: XCTestCase {
184184
185185 func testDelete( ) {
186186 let expectation = expectationWithDescription ( " testDelete " )
187- let object = [ " city " : " Las Vegas " , " objectID " : " a/go/?à-3 " ]
187+ let object = [ " city " : " Las Vegas " , " objectID " : " a/go/?à " ]
188188
189189 index. addObject ( object, block: { ( JSON, error) -> Void in
190190 if let error = error {
@@ -265,7 +265,7 @@ class IndexTests: XCTestCase {
265265
266266 func testGet( ) {
267267 let expectation = expectationWithDescription ( " testGet " )
268- let object = [ " city " : " Los Angeles " , " objectID " : " a/go/?à-4 " ]
268+ let object = [ " city " : " Los Angeles " , " objectID " : " a/go/?à " ]
269269
270270 index. addObject ( object, block: { ( JSON, error) -> Void in
271271 if let error = error {
@@ -333,7 +333,7 @@ class IndexTests: XCTestCase {
333333
334334 func testPartialUpdateObject( ) {
335335 let expectation = expectationWithDescription ( " testPartialUpdateObject " )
336- let object = [ " city " : " New York " , " initial " : " NY " , " objectID " : " a/go/?à-5 " ]
336+ let object = [ " city " : " New York " , " initial " : " NY " , " objectID " : " a/go/?à " ]
337337
338338 index. addObject ( object, block: { ( JSON, error) -> Void in
339339 if let error = error {
@@ -423,14 +423,14 @@ class IndexTests: XCTestCase {
423423
424424 func testSaveObject( ) {
425425 let expectation = expectationWithDescription ( " testSaveObject " )
426- let object = [ " city " : " New York " , " initial " : " NY " , " objectID " : " a/go/?à-6 " ]
426+ let object = [ " city " : " New York " , " initial " : " NY " , " objectID " : " a/go/?à " ]
427427
428428 index. addObject ( object, block: { ( JSON, error) -> Void in
429429 if let error = error {
430430 XCTFail ( " Error during addObject: \( error) " )
431431 expectation. fulfill ( )
432432 } else {
433- self . index. saveObject ( [ " city " : " Los Angeles " , " objectID " : " a/go/?à-6 " ] , block: { ( JSON, error) -> Void in
433+ self . index. saveObject ( [ " city " : " Los Angeles " , " objectID " : " a/go/?à " ] , block: { ( JSON, error) -> Void in
434434 if let error = error {
435435 XCTFail ( " Error during saveObject: \( error) " )
436436 expectation. fulfill ( )
@@ -618,7 +618,7 @@ class IndexTests: XCTestCase {
618618 let expectation = expectationWithDescription ( " testBrowseWithHitsPerPage " )
619619 let objects = [
620620 [ " city " : " San Francisco " , " objectID " : " a/go/?à " ] ,
621- [ " city " : " New York " , " objectID " : " a/go/?à-1 " ]
621+ [ " city " : " New York " , " objectID " : " a/go/?à$ " ]
622622 ]
623623
624624 index. addObjects ( objects, block: { ( JSON, error) -> Void in
0 commit comments