Skip to content

Commit

Permalink
Merge pull request #31 from deligoez/30-birthday-and-birth-month-chec…
Browse files Browse the repository at this point in the history
…k-api-now-requires-mandatory-captcha-check

30 birthday and birth month check api now requires mandatory captcha check
  • Loading branch information
deligoez committed May 31, 2024
2 parents 439d46a + 67a5c26 commit 71f08f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TCKimlikNo.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function validate(
bool $autoUppercase = true,
null|int|string $birthMonth = null,
null|int|string $birthDay = null,
bool $forcePublicApi = false,
bool $forcePublicApi = true,
): bool {
if ($autoUppercase) {
$name = self::toUppercaseTr($name);
Expand Down
2 changes: 1 addition & 1 deletion tests/TCKimlikNoValidateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function it_sends_a_request_to_the_search_api_if_there_is_a_birth_year_an
Soap::fake();

$this->assertTrue(
TCKimlikNo::validate('10000000146', 'Y. EMRE', 'DELİGÖZ', '1900', true, 1, 1)
TCKimlikNo::validate('10000000146', 'Y. EMRE', 'DELİGÖZ', '1900', true, 1, 1, false)
);

Soap::assertNothingSent();
Expand Down

0 comments on commit 71f08f7

Please sign in to comment.