Skip to content

Commit

Permalink
Update fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliot-Tm committed May 29, 2024
1 parent 458bbbe commit 35d063f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/Service/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ public function testCreate(): void
self::assertInstanceOf(FileHash::class, $fileHash);

self::assertSame($expectedPath, $fileHash->getPath());
self::assertSame(3067467297, $fileHash->getHash());
self::assertSame(4266623405, $fileHash->getHash());
}
}
2 changes: 1 addition & 1 deletion tests/Unit/Service/FileCacheCalculatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public function testCalculate(): void
->willReturn(__DIR__ . '/../../fixtures/file-for-calculation-of-hash.php');

$calculator = new FileCacheCalculator();
self::assertSame(3067467297, $calculator->calculate($file));
self::assertSame(4266623405, $calculator->calculate($file));
}
}
2 changes: 1 addition & 1 deletion tests/Unit/Service/FileComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function testInBaseLine(): void
{
$file = $this->mockSplFileInfo();
$baselineContent = new BaselineContent();
$baselineContent->addHash(new FileHash($file->getPathname(), 3067467297));
$baselineContent->addHash(new FileHash($file->getPathname(), 4266623405));

$comparator = new FileComparator();

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Service/ReaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ public function testExistingPath(): void
self::assertInstanceOf(FileHash::class, $fileHash);

self::assertSame($expectedPath, $fileHash->getPath());
self::assertSame(3067467297, $fileHash->getHash());
self::assertSame(4266623405, $fileHash->getHash());
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/.php-cs-fixer-baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"config_hash": 1624530864,
"hashes": {
"\/app\/tests\/fixtures\/file-for-calculation-of-hash.php": {
"hash": 3067467297
"hash": 4266623405
}
}
}

0 comments on commit 35d063f

Please sign in to comment.