From 1003033fa0e97726d92f47231f96cf02fb35869a Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Wed, 19 Oct 2022 21:06:27 +0200 Subject: Update Fødselsnummer test case for date in future MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The future was now. This problem was pushed forwards to October 2039. --- tests/test_no_fodselsnummer.doctest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_no_fodselsnummer.doctest b/tests/test_no_fodselsnummer.doctest index bca21cf..610e633 100644 --- a/tests/test_no_fodselsnummer.doctest +++ b/tests/test_no_fodselsnummer.doctest @@ -91,9 +91,9 @@ InvalidComponent: The birthdate century cannot be determined Traceback (most recent call last): ... InvalidComponent: This number is an FH-number, and does not contain birth date information by design. ->>> fodselsnummer.validate('19102270846') +>>> fodselsnummer.validate('18103970861') Traceback (most recent call last): - ... + ... InvalidComponent: The birth date information is valid, but this person has not been born yet. -- cgit v1.2.3