Small unit test improvements.

This commit is contained in:
Martin Edenhofer 2014-07-14 08:17:27 +02:00
parent 84ce3a9002
commit 3aa22ceb10
2 changed files with 1 additions and 2 deletions

View file

@ -261,7 +261,7 @@ class SessionBasicTest < ActiveSupport::TestCase
test 'b recent_viewed' do
user = User.lookup(:id => 1)
ticket = Ticket.find(1)
ticket = Ticket.all.last
RecentView.log( ticket, user )
recent_viewed_client1 = Sessions::Backend::RecentViewed.new(user, false, '123-1')

View file

@ -57,7 +57,6 @@ class SessionBasicTicketTest < ActiveSupport::TestCase
# get as stream
result1 = client1.push
puts "RR: #{result1.inspect}"
assert( result1, "check ticket_overview_list - recall 3" )
end
end