Check all class instances created from main class.

This commit is contained in:
Gerhard Potgieter 2017-12-13 13:36:36 +02:00
parent c334556ba9
commit 748ca37838
1 changed files with 3 additions and 0 deletions

View File

@ -61,5 +61,8 @@ class WC_Test_WooCommerce extends WC_Unit_Test_Case {
$this->assertInstanceOf( 'WC_Integrations', $this->wc->integrations );
$this->assertInstanceOf( 'WC_Cart', $this->wc->cart );
$this->assertInstanceOf( 'WC_Customer', $this->wc->customer );
$this->assertInstanceOf( 'WC_Session', $this->wc->session );
$this->assertInstanceOf( 'WC_Query', $this->wc->query );
$this->assertInstanceOf( 'WC_Structured_Data', $this->wc->structured_data );
}
}