2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 14:25:30 +00:00

Apex cname error message (#723)

This commit is contained in:
Britney Wright
2019-07-03 14:03:51 -04:00
committed by GitHub
parent 6b84bb18ca
commit 7e63332636
5 changed files with 21 additions and 5 deletions

View File

@@ -1524,7 +1524,7 @@ def test_cname_recordtype_add_checks(shared_zone_test_context):
# CNAME cant be apex
assert_failed_change_in_error_response(response[8], input_name="parent.com.", record_type="CNAME", record_data="test.com.",
error_messages=["Record \"parent.com.\" Already Exists: cannot add an existing record; to update it, issue a DeleteRecordSet then an Add."])
error_messages=["CNAME cannot be the same name as zone \"parent.com.\"."])
# context validations: duplicates in batch
assert_successful_change_in_error_response(response[9], input_name="192.0.2.15", record_type="PTR", record_data="test.com.")