diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-25 15:07:36 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-25 15:07:36 +0000 |
commit | cdd95ddd0197b8709947c2b3b4e0333e1d9a2934 (patch) | |
tree | 31c54297728d8ddee38203e12f91a0594fa6e223 /spec/factories/error_tracking | |
parent | d45691788ec45d0da3508c438ffdf43b08781f04 (diff) | |
download | gitlab-ce-cdd95ddd0197b8709947c2b3b4e0333e1d9a2934.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/error_tracking')
-rw-r--r-- | spec/factories/error_tracking/error_event.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/error_tracking/error_event.rb b/spec/factories/error_tracking/error_event.rb index c4dcd67bc9f..1590095f1bd 100644 --- a/spec/factories/error_tracking/error_event.rb +++ b/spec/factories/error_tracking/error_event.rb @@ -36,6 +36,16 @@ FactoryBot.define do ] }, { + 'function' => 'print', + 'lineNo' => 3, + 'filename' => 'hello_world.php', + 'context' => [ + [1, "// PHP/Hack example\n"], + [2, "<?php\n"], + [3, "echo 'Hello, World!';\n"] + ] + }, + { 'filename' => 'blank.txt' } ] |