mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for usercreated event
This commit is contained in:
parent
8b22fa5a47
commit
1ff29a2d55
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
||||
- name: Cleanup Builds
|
||||
run: |
|
||||
sudo rm -rf bootstrap/cache/*
|
||||
|
||||
sudo rm -rf node_modules
|
||||
- name: Build project # This would actually build your project, using zip for an example artifact
|
||||
run: |
|
||||
zip -r ./invoiceninja.zip ./
|
||||
|
@ -21,6 +21,10 @@
|
||||
*/
|
||||
function nlog($output, $context = []): void
|
||||
{
|
||||
$trace = debug_backtrace();
|
||||
|
||||
\Illuminate\Support\Facades\Log::channel('invoiceninja')->info(print_r($trace[1]['class'],1), []);
|
||||
|
||||
if (config('ninja.expanded_logging')) {
|
||||
if (gettype($output) == 'object') {
|
||||
$output = print_r($output, 1);
|
||||
|
@ -78,7 +78,7 @@ class CreateUser
|
||||
'settings' => null,
|
||||
]);
|
||||
|
||||
event(new UserWasCreated($user, $this->company, Ninja::eventVars()));
|
||||
event(new UserWasCreated($user, $user, $this->company, Ninja::eventVars()));
|
||||
|
||||
return $user;
|
||||
}
|
||||
|
0
public/css/card-js.min.css
vendored
Normal file → Executable file
0
public/css/card-js.min.css
vendored
Normal file → Executable file
@ -58,8 +58,8 @@ class ExportCsvTest extends TestCase
|
||||
$merged_values = array_merge($header_invoice_values, (array)$header_item_values);
|
||||
$merged_keys = array_merge($header_invoice_keys, (array)$header_item_keys);
|
||||
|
||||
nlog(print_r($merged_keys, 1));
|
||||
nlog(print_r($merged_values, 1));
|
||||
// nlog(print_r($merged_keys, 1));
|
||||
// nlog(print_r($merged_values, 1));
|
||||
|
||||
|
||||
foreach ($merged_keys as &$key) {
|
||||
|
@ -195,7 +195,7 @@ class LoginTest extends TestCase
|
||||
|
||||
$arr = $response->json();
|
||||
|
||||
nlog(print_r($arr, 1));
|
||||
// nlog(print_r($arr, 1));
|
||||
|
||||
$response->assertStatus(200);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user