summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-25 15:07:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-25 15:07:36 +0000
commitcdd95ddd0197b8709947c2b3b4e0333e1d9a2934 (patch)
tree31c54297728d8ddee38203e12f91a0594fa6e223 /spec/factories
parentd45691788ec45d0da3508c438ffdf43b08781f04 (diff)
downloadgitlab-ce-cdd95ddd0197b8709947c2b3b4e0333e1d9a2934.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/error_tracking/error_event.rb10
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'
}
]