Compare commits

..

No commits in common. "4eb94a736a90419952573a321ca8b08e11d40c28" and "f188063967589835462041021510da34c110f075" have entirely different histories.

4 changed files with 16 additions and 21 deletions

View File

@ -1,9 +1,9 @@
APP_NAME="Top Notch"
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:vRgghlbIdXQxXIEvgUArbI9FURhgdyqx3LDXDwHYSmA=
APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=localhost
APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
@ -19,12 +19,12 @@ LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=sail
DB_PASSWORD=password
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
@ -42,13 +42,13 @@ CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
@ -62,8 +62,3 @@ AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
VITE_APP_NAME="${APP_NAME}"
SCOUT_DRIVER=meilisearch
MEILISEARCH_HOST=http://meilisearch:7700
MEILISEARCH_NO_ANALYTICS=false

View File

@ -12,7 +12,7 @@ public function up(): void
$table->id();
$table->foreignId('order_id')->constrained();
$table->string('sku')->nullable();
$table->string('product_name')->nullable();
$table->string('product_name');
$table->string('color')->nullable();
$table->softDeletes();

View File

@ -54,7 +54,7 @@
->assertHasNoErrors();
$this->assertDatabaseHas('invoices', [
'internal_id' => 'TN4001',
'internal_id' => 'TN40001',
'customer_id' => $formData['customer_id'],
'status' => $formData['status'],
'has_gst' => $formData['has_gst'],
@ -65,7 +65,7 @@
'hst_rate' => $hst_rate,
]);
$invoice = Invoice::where('internal_id', 'TN4001')->firstOrFail();
$invoice = Invoice::where('internal_id', 'TN40001')->firstOrFail();
$this->assertEquals($invoice->orders->isEmpty(), true);
});