Skip to content

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Feb 3, 2024
1 parent acb32b0 commit 40a7b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/etl/tests/Flow/ETL/Tests/Double/CacheSpy.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function clears() : int

public function has(string $id) : bool
{
if (!\array_key_exists($id, $this->reads)) {
if (\array_key_exists($id, $this->reads)) {
return $this->reads[$id] > 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function test_etl_sort_at_disk_in_memory() : void
// 50 tmp caches
// 1 sorted cache
// 1 extracted cache
$this->assertSame(53, $cacheSpy->clears());
$this->assertSame(52, $cacheSpy->clears());
}

public function test_etl_sort_by_in_memory() : void
Expand Down

0 comments on commit 40a7b89

Please sign in to comment.