@@ -93,7 +93,7 @@ def test_post__different_type_already_exists__returns_409(
9393 )
9494
9595
96- def test_post__soft_deleted_exists__resurrects_and_returns_201 (
96+ def test_post__soft_deleted_exists__creates_new_record_and_returns_201 (
9797 admin_client : APIClient ,
9898 environment : Environment ,
9999 enable_features : EnableFeaturesFixture ,
@@ -114,7 +114,7 @@ def test_post__soft_deleted_exists__resurrects_and_returns_201(
114114
115115 # Then
116116 assert response .status_code == status .HTTP_201_CREATED
117- assert response .json ()["id" ] = = original_id
117+ assert response .json ()["id" ] ! = original_id
118118 assert response .json ()["status" ] == "created"
119119
120120
@@ -487,7 +487,7 @@ def test_post__snowflake_no_name__auto_generates_name(
487487 assert response .json ()["name" ] == f"Snowflake Warehouse - { environment .name } "
488488
489489
490- def test_post__snowflake_soft_deleted__resurrects_with_new_config (
490+ def test_post__snowflake_soft_deleted__creates_new_record_with_new_config (
491491 admin_client : APIClient ,
492492 environment : Environment ,
493493 enable_features : EnableFeaturesFixture ,
@@ -516,7 +516,7 @@ def test_post__snowflake_soft_deleted__resurrects_with_new_config(
516516 warehouse_connection_url ,
517517 data = {
518518 "warehouse_type" : "snowflake" ,
519- "name" : "Resurrected " ,
519+ "name" : "Replacement " ,
520520 "config" : {"account_identifier" : "new.us-west-2" },
521521 },
522522 format = "json" ,
@@ -525,9 +525,9 @@ def test_post__snowflake_soft_deleted__resurrects_with_new_config(
525525 # Then
526526 assert response .status_code == status .HTTP_201_CREATED
527527 data = response .json ()
528- assert data ["id" ] = = original_id
528+ assert data ["id" ] ! = original_id
529529 assert data ["status" ] == "created"
530- assert data ["name" ] == "Resurrected "
530+ assert data ["name" ] == "Replacement "
531531 assert data ["config" ]["account_identifier" ] == "new.us-west-2"
532532
533533
0 commit comments