Skip to content

Commit

Permalink
Removed unnecessary tests, Added exclusions for sonar cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszdebinski committed Jul 25, 2024
1 parent f313a56 commit 4085781
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 2 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Exclude test data dumps
sonar.exclusions = tests/**/_fixtures/**.php
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,6 @@ public function testListVersions(): void
$res
);

foreach ($res as $row) {
$this->assertCount(
24,
$row
);
}

$this->assertEquals(
675,
$res[0]['ezcontentobject_version_id']
Expand Down Expand Up @@ -643,13 +636,6 @@ public function testListVersionsForUser()
$res
);

foreach ($res as $row) {
$this->assertCount(
24,
$row
);
}

$this->assertEquals(
677,
$res[0]['ezcontentobject_version_id']
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Persistence/ValueObject/ContentInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Ibexa\Contracts\Core\Persistence\Content\ContentInfo;
use Ibexa\Tests\Core\Persistence\Legacy\TestCase;

class ContentInfoTest extends TestCase
final class ContentInfoTest extends TestCase
{
public function testGetContentTypeIdentifier(): void
{
Expand Down

0 comments on commit 4085781

Please sign in to comment.