Skip to content

Commit

Permalink
chore: remove extraneous null check
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Oct 19, 2023
1 parent 00edf72 commit c0df7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Kernel/MomentoCacheBackendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MomentoCacheBackendTest extends GenericCacheBackendUnitTestBase {
private $cacheNamePrefix;

public function setUpCacheBackend() {
$this->cacheNamePrefix = $this->cacheNamePrefix ?? uniqid("drupal-cache-test-");
$this->cacheNamePrefix = uniqid("drupal-cache-test-");
putenv("MOMENTO_CACHE_NAME_PREFIX=$this->cacheNamePrefix-");
}

Expand Down

0 comments on commit c0df7c5

Please sign in to comment.