Skip to content

Commit

Permalink
Make title resolution default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Feb 18, 2024
1 parent 3e8d7d7 commit b314455
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
### Changed
* Update dependencies
* Default value for QR codes enabled for disabled short URLs is now true.
* Title resolution defaults to true now.

### Deprecated
* *Nothing*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public function ask(StyleInterface $io, array $currentOptions): bool
return $io->confirm(
'Do you want Shlink to resolve the short URL title based on the long URL\'s title tag (if any)? '
. 'Otherwise, it will be kept empty unless explicitly provided.',
false,
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public function expectedQuestionIsAsked(): void
$io->expects($this->once())->method('confirm')->with(
'Do you want Shlink to resolve the short URL title based on the long URL\'s title tag (if any)? '
. 'Otherwise, it will be kept empty unless explicitly provided.',
false,
)->willReturn(true);

$answer = $this->configOption->ask($io, []);
Expand Down

0 comments on commit b314455

Please sign in to comment.