Skip to content

Commit f1d1bb4

Browse files
committed
Refactored entity integration tests to use proper new data provider
1 parent 71efaff commit f1d1bb4

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

tests/Integration/Entity/DateDimensionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DateDimensionTest extends EntityTestCase
3535
/**
3636
* @noinspection PhpMissingParentCallCommonInspection
3737
*/
38-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
38+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
3939
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
4040
#[Override]
4141
public function testThatSetterOnlyAcceptSpecifiedType(
@@ -49,7 +49,7 @@ public function testThatSetterOnlyAcceptSpecifiedType(
4949
/**
5050
* @noinspection PhpMissingParentCallCommonInspection
5151
*/
52-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
52+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
5353
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
5454
#[Override]
5555
public function testThatSetterReturnsInstanceOfEntity(
@@ -64,7 +64,7 @@ public function testThatSetterReturnsInstanceOfEntity(
6464
/**
6565
* @throws Throwable
6666
*/
67-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
67+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
6868
#[TestDox('Test that getter method for `$type $property` property returns expected')]
6969
#[Override]
7070
public function testThatGetterReturnsExpectedValue(string $property, string $type, array $meta): void

tests/Integration/Entity/LogLoginFailureTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class LogLoginFailureTest extends EntityTestCase
3535
/**
3636
* @noinspection PhpMissingParentCallCommonInspection
3737
*/
38-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
38+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
3939
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
4040
#[Override]
4141
public function testThatSetterOnlyAcceptSpecifiedType(
@@ -49,7 +49,7 @@ public function testThatSetterOnlyAcceptSpecifiedType(
4949
/**
5050
* @noinspection PhpMissingParentCallCommonInspection
5151
*/
52-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
52+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
5353
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
5454
#[Override]
5555
public function testThatSetterReturnsInstanceOfEntity(
@@ -64,7 +64,7 @@ public function testThatSetterReturnsInstanceOfEntity(
6464
/**
6565
* @throws Throwable
6666
*/
67-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
67+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
6868
#[TestDox('Test that getter method for `$type $property` property returns expected')]
6969
#[Override]
7070
public function testThatGetterReturnsExpectedValue(string $property, string $type, array $meta): void

tests/Integration/Entity/LogLoginTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class LogLoginTest extends EntityTestCase
4040
/**
4141
* @noinspection PhpMissingParentCallCommonInspection
4242
*/
43-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
43+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
4444
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
4545
#[Override]
4646
public function testThatSetterOnlyAcceptSpecifiedType(
@@ -54,7 +54,7 @@ public function testThatSetterOnlyAcceptSpecifiedType(
5454
/**
5555
* @noinspection PhpMissingParentCallCommonInspection
5656
*/
57-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
57+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
5858
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
5959
#[Override]
6060
public function testThatSetterReturnsInstanceOfEntity(
@@ -69,7 +69,7 @@ public function testThatSetterReturnsInstanceOfEntity(
6969
/**
7070
* @throws Throwable
7171
*/
72-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
72+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
7373
#[TestDox('Test that getter method for `$type $property` property returns expected')]
7474
#[Override]
7575
public function testThatGetterReturnsExpectedValue(string $property, string $type, array $meta): void

tests/Integration/Entity/LogRequestTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class LogRequestTest extends EntityTestCase
4545
/**
4646
* @noinspection PhpMissingParentCallCommonInspection
4747
*/
48-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
48+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
4949
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
5050
#[Override]
5151
public function testThatSetterOnlyAcceptSpecifiedType(
@@ -59,7 +59,7 @@ public function testThatSetterOnlyAcceptSpecifiedType(
5959
/**
6060
* @noinspection PhpMissingParentCallCommonInspection
6161
*/
62-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
62+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
6363
#[TestDox('No setter for `$property` property in read only entity - so cannot test this')]
6464
#[Override]
6565
public function testThatSetterReturnsInstanceOfEntity(
@@ -74,7 +74,7 @@ public function testThatSetterReturnsInstanceOfEntity(
7474
/**
7575
* @throws Throwable
7676
*/
77-
#[DataProvider('dataProviderTestThatSetterAndGettersWorks')]
77+
#[DataProvider('dataProviderTestThatSetterAndGettersWorksWithoutReadOnlyFlag')]
7878
#[TestDox('Test that getter method for `$type $property` returns expected')]
7979
#[Override]
8080
public function testThatGetterReturnsExpectedValue(string $property, string $type, array $meta): void

0 commit comments

Comments
 (0)