1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

fixes for tests

This commit is contained in:
David Bomba 2020-08-19 16:11:57 +10:00
parent ca99a66390
commit 77ecca3035
3 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ class CompanyGateway extends BaseModel
'custom_value2',
'custom_value3',
'custom_value4',
'token_billing',
];
public static $credit_cards = [

View File

@ -26,6 +26,7 @@ class Document extends BaseModel
*/
protected $fillable = [
'is_default',
'is_public',
];

View File

@ -23,7 +23,7 @@ class AddIsPublicToDocumentsTable extends Migration
});
Schema::table('company_gateways', function (Blueprint $table) {
$table->string('token_billing')->default('off');
$table->enum('token_billing', ['off', 'always','optin','optout'])->default('off');
});
}