Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT New tests classes to test version tags #160

Conversation

sabina-talipova
Copy link
Contributor

@sabina-talipova sabina-talipova commented Dec 21, 2023

Description

Additional classes for creating objects for testing recursive checking of changes in child classes.

Parent issue


class NonVersionedParentObject extends DataObject
{
private static $table_name = 'NonVersionedParentObject';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private static $table_name = 'NonVersionedParentObject';
private static $table_name = 'FrameworkTest_NonVersionedParentObject';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


class NonVersionedChildObject extends DataObject
{
private static $table_name = 'NonVersionedChildObject';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private static $table_name = 'NonVersionedChildObject';
private static $table_name = 'FrameworkTest_NonVersionedChildObject';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


class VersionedChildObject extends DataObject
{
private static $table_name = 'VersionedChildObject';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private static $table_name = 'VersionedChildObject';
private static $table_name = 'FrameworkTest_VersionedChildObject';

*/
class TestPageVersionedObject extends Page implements \TestPageInterface
{
private static $table_name = 'FrameworkTestPage_VersionedObject';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private static $table_name = 'FrameworkTestPage_VersionedObject';
private static $table_name = 'FrameworkTest_VersionedObject';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated


class VersionedParentObject extends DataObject
{
private static $table_name = 'VersionedParentObject';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private static $table_name = 'VersionedParentObject';
private static $table_name = 'FrameworkTest_VersionedParentObject';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

/**
* Parent class of all test pages
*/
class TestPageVersionedObject extends Page implements \TestPageInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class TestPageVersionedObject extends Page implements \TestPageInterface
class TestPageVersionedObject extends Page implements TestPageInterface

And add use TestPageInterface; above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@sabina-talipova sabina-talipova force-pushed the pulls/1/versioned-ui-test-objects branch from 9053227 to f6aa59d Compare January 8, 2024 02:50
@sabina-talipova sabina-talipova force-pushed the pulls/1/versioned-ui-test-objects branch from f6aa59d to f9bf950 Compare January 8, 2024 02:51
@GuySartorelli
Copy link
Member

Closing - we can reference this PR if we decide to go forward with this work in the future, pending the spike.

@GuySartorelli GuySartorelli deleted the pulls/1/versioned-ui-test-objects branch May 28, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants