mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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
|
- name: Cleanup Builds
|
||||||
run: |
|
run: |
|
||||||
sudo rm -rf bootstrap/cache/*
|
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
|
- name: Build project # This would actually build your project, using zip for an example artifact
|
||||||
run: |
|
run: |
|
||||||
zip -r ./invoiceninja.zip ./
|
zip -r ./invoiceninja.zip ./
|
||||||
|
@ -21,6 +21,10 @@
|
|||||||
*/
|
*/
|
||||||
function nlog($output, $context = []): void
|
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 (config('ninja.expanded_logging')) {
|
||||||
if (gettype($output) == 'object') {
|
if (gettype($output) == 'object') {
|
||||||
$output = print_r($output, 1);
|
$output = print_r($output, 1);
|
||||||
|
@ -78,7 +78,7 @@ class CreateUser
|
|||||||
'settings' => null,
|
'settings' => null,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
event(new UserWasCreated($user, $this->company, Ninja::eventVars()));
|
event(new UserWasCreated($user, $user, $this->company, Ninja::eventVars()));
|
||||||
|
|
||||||
return $user;
|
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_values = array_merge($header_invoice_values, (array)$header_item_values);
|
||||||
$merged_keys = array_merge($header_invoice_keys, (array)$header_item_keys);
|
$merged_keys = array_merge($header_invoice_keys, (array)$header_item_keys);
|
||||||
|
|
||||||
nlog(print_r($merged_keys, 1));
|
// nlog(print_r($merged_keys, 1));
|
||||||
nlog(print_r($merged_values, 1));
|
// nlog(print_r($merged_values, 1));
|
||||||
|
|
||||||
|
|
||||||
foreach ($merged_keys as &$key) {
|
foreach ($merged_keys as &$key) {
|
||||||
|
@ -195,7 +195,7 @@ class LoginTest extends TestCase
|
|||||||
|
|
||||||
$arr = $response->json();
|
$arr = $response->json();
|
||||||
|
|
||||||
nlog(print_r($arr, 1));
|
// nlog(print_r($arr, 1));
|
||||||
|
|
||||||
$response->assertStatus(200);
|
$response->assertStatus(200);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user