Skip to content

Upgrade to phpunit8 - #674

Merged
ADmad merged 2 commits into
4.xfrom
phpunit8
May 6, 2019
Merged

ADmad merged 2 commits into
4.xfrom
phpunit8

Conversation

@markstory

Copy link
Copy Markdown
Member

No description provided.

@markstory markstory added this to the 4.x milestone May 4, 2019
$db = ConnectionManager::get('test');
$logger = $db->getLogger();
$this->assertInstanceOf('DebugKit\Database\Log\DebugLog', $logger);
$this->assertAttributeEquals(true, '_includeSchema', $logger);

@ADmad ADmad May 6, 2019 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The core has lot of such assertions for protected properties which use deprecated assert methods like assertAttributeEquals().

We could include this AccessibilityHelperTrait in core to help easily update such tests in a DRY way.

@ADmad
ADmad merged commit 9d7772a into 4.x May 6, 2019
@ADmad
ADmad deleted the phpunit8 branch May 6, 2019 04:49
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.

2 participants