Skip to content

Commit

Permalink
Base un/installer tests: fix construction of abstract class
Browse files Browse the repository at this point in the history
When we decided to make this class abstract we missed updating these
usages.

See #404
  • Loading branch information
JDGrimes committed Aug 22, 2017
1 parent 8d60f5a commit d8a6508
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/phpunit/tests/un-installer-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -3853,7 +3853,7 @@ public function test_do_per_site_uninstall_large_network_many_sites() {

$un_installer->slug = 'test';
$un_installer->type = 'module';
$un_installer->installable = new WordPoints_Installable(
$un_installer->installable = new WordPoints_Installable_Basic(
'module'
, 'test'
, '1.0.0'
Expand Down Expand Up @@ -4040,7 +4040,7 @@ public function test_get_installed_site_ids_network_wide_option_prefix() {
public function test_get_installed_site_ids_wordpoints() {

$this->un_installer->slug = 'wordpoints';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'plugin'
, 'wordpoints'
, '1.0.0'
Expand Down Expand Up @@ -4073,7 +4073,7 @@ public function test_get_installed_site_ids_wordpoints() {
public function test_get_installed_site_ids_network_wide_wordpoints() {

$this->un_installer->slug = 'wordpoints';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'plugin'
, 'wordpoints'
, '1.0.0'
Expand Down Expand Up @@ -4106,7 +4106,7 @@ public function test_get_installed_site_ids_network_wide_wordpoints() {
public function test_get_installed_site_ids_component() {

$this->un_installer->type = 'component';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'component'
, 'test'
, '1.0.0'
Expand Down Expand Up @@ -4137,7 +4137,7 @@ public function test_get_installed_site_ids_component() {
public function test_get_installed_site_ids_network_wide_component() {

$this->un_installer->type = 'component';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'component'
, 'test'
, '1.0.0'
Expand Down Expand Up @@ -4248,7 +4248,7 @@ public function test_add_installed_site_id_option_prefix() {
public function test_add_installed_site_id_wordpoints() {

$this->un_installer->slug = 'wordpoints';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'plugin'
, 'wordpoints'
, '1.0.0'
Expand Down Expand Up @@ -4281,7 +4281,7 @@ public function test_add_installed_site_id_wordpoints() {
public function test_add_installed_site_id_component() {

$this->un_installer->type = 'component';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'component'
, 'test'
, '1.0.0'
Expand Down Expand Up @@ -4363,7 +4363,7 @@ public function test_delete_installed_site_ids_option_prefix() {
public function test_delete_installed_site_ids_wordpoints() {

$this->un_installer->slug = 'wordpoints';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'plugin'
, 'wordpoints'
, '1.0.0'
Expand Down Expand Up @@ -4393,7 +4393,7 @@ public function test_delete_installed_site_ids_wordpoints() {
public function test_delete_installed_site_ids_component() {

$this->un_installer->type = 'component';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'component'
, 'test'
, '1.0.0'
Expand Down Expand Up @@ -4592,7 +4592,7 @@ public function test_get_db_version_network_wide() {
public function test_get_db_version_wordpoints() {

$this->un_installer->slug = 'wordpoints';
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'plugin'
, 'wordpoints'
, '1.0.0'
Expand Down Expand Up @@ -4636,7 +4636,7 @@ public function test_get_db_version_wordpoints_network_wide() {
$this->un_installer->slug = 'wordpoints';
$this->un_installer->context = 'network';
$this->un_installer->network_wide = true;
$this->un_installer->installable = new WordPoints_Installable(
$this->un_installer->installable = new WordPoints_Installable_Basic(
'plugin'
, 'wordpoints'
, '1.0.0'
Expand Down

0 comments on commit d8a6508

Please sign in to comment.