Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jul 17, 2024
1 parent c77e188 commit d24f92e
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 15 deletions.
2 changes: 0 additions & 2 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@

'mix_url' => env('MIX_ASSET_URL'),

'mix_url' => env('MIX_ASSET_URL'),

/*
|--------------------------------------------------------------------------
| Application Timezone
Expand Down
2 changes: 1 addition & 1 deletion config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
| well as their drivers. You may even define multiple stores for the
| same cache driver to group types of items stored in your caches.
|
| Supported drivers: "apc", "array", "database", "file", "memcached",
| Supported drivers: "array", "database", "file", "memcached",
| "redis", "dynamodb", "octane", "null"
|
*/
Expand Down
3 changes: 3 additions & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
'busy_timeout' => null,
'journal_mode' => null,
'synchronous' => null,
],

'mysql' => [
Expand Down
7 changes: 0 additions & 7 deletions config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@
'replace_placeholders' => true,
],

'deprecations' => [
'driver' => 'single',
'path' => storage_path('logs/deprecations.log'),
'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
],

'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
Expand Down
17 changes: 15 additions & 2 deletions config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
| your mailers below. You may also add additional mailers if needed.
|
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "log", "array", "failover", "roundrobin"
| "postmark", "resend", "log", "array",
| "failover", "roundrobin"
|
*/

Expand All @@ -54,12 +55,16 @@

'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => null,
// 'message_stream_id' => env('POSTMARK_MESSAGE_STREAM_ID'),
// 'client' => [
// 'timeout' => 5,
// ],
],

'resend' => [
'transport' => 'resend',
],

'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
Expand All @@ -82,6 +87,14 @@
],
],

'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
],

],

/*
Expand Down
4 changes: 4 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],

'resend' => [
'key' => env('RESEND_KEY'),
],

'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
Expand Down
2 changes: 1 addition & 1 deletion config/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
|
| This option determines how your cookies behave when cross-site requests
| take place, and can be used to mitigate CSRF attacks. By default, we
| will set this value to "lax" since this is a secure default value.
| will set this value to "lax" to permit secure cross-site requests.
|
| See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
|
Expand Down
4 changes: 2 additions & 2 deletions tests/Browser/IndexFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function test_date_filter_can_be_selected_and_reset()
->pause(500)
->elsewhere('', function ($browser) {
$browser->assertVisible('@filter-per-page')
->type('input[dusk="Created-date-filter"]', '')
->type('@Created-date-filter', '')
->assertVisible('@filter-per-page');
})
->waitForTable()
Expand Down Expand Up @@ -206,7 +206,7 @@ public function test_date_filter_interactions_does_not_close_filter_dropdown()
->pause(500)
->elsewhere('', function ($browser) {
$browser->assertVisible('@filter-per-page')
->type('input[dusk="Created-date-filter"]', '')
->type('@Created-date-filter', '')
->assertVisible('@filter-per-page');
})
->closeCurrentDropdown()
Expand Down

0 comments on commit d24f92e

Please sign in to comment.