Skip to content

Commit

Permalink
Refs #22602 - remove non-uuid value dynflow-related id
Browse files Browse the repository at this point in the history
Tests started failing after merging
Dynflow/dynflow#319
  • Loading branch information
iNecas committed Feb 28, 2019
1 parent 1bb99cb commit 1c853d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/task_test.rb
Expand Up @@ -84,9 +84,11 @@ class TasksTest < ActiveSupport::TestCase
end

describe 'task without valid execution plan' do
let(:missing_task_uuid) { '11111111-2222-3333-4444-555555555555' }

let(:task) do
task = FactoryBot.create(:dynflow_task).tap do |task|
task.external_id = 'missing-task'
task.external_id = missing_task_uuid
task.save
end
ForemanTasks::Task.find(task.id)
Expand Down

0 comments on commit 1c853d3

Please sign in to comment.