Removes lefover test code

This commit is contained in:
Vlad
2017-04-10 11:32:38 -04:00
parent 7ffbf6c378
commit b9f7a5673f
2 changed files with 2 additions and 3 deletions

View File

@@ -77,8 +77,7 @@ class Import {
return $validation_rules;
}
function process($a = false) {
$this->a = $a;
function process() {
$subscribers_fields = $this->subscribers_fields;
$subscribers_custom_fields = $this->subscribers_custom_fields;
$subscribers_data = $this->validateSubscribersData(

View File

@@ -432,7 +432,7 @@ class ImportTest extends MailPoetTest {
$timestamp = time() + 1;
$this->import->created_at = $this->import->required_subscribers_fields['created_at'] = date('Y-m-d H:i:s', $timestamp);
$this->import->updated_at = date('Y-m-d H:i:s', $timestamp + 1);
$result = $this->import->process('boo');
$result = $this->import->process();
expect($result['created'])->equals(1);
$db_subscribers = Helpers::arrayColumn(
Subscriber::select('id')->findArray(),