Skip to content

Commit 61b6aa3

Browse files
committed
Check correct log line
1 parent 1873afb commit 61b6aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/AlyxPanel_test.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ function test_login(testCase)
356356
testCase.assertTrue(testCase.Panel.AlyxInstance.IsLoggedIn);
357357
% Check log
358358
logPanel = findobj(testCase.hPanel, 'Tag', 'Logging Display');
359-
testCase.verifyTrue(endsWith(logPanel.String{1}, 'Logged into Alyx successfully as test_user'))
359+
testCase.verifyTrue(endsWith(logPanel.String{end}, 'Logged into Alyx successfully as test_user'))
360360
labels = findobj(testCase.Parent, 'Style', 'text');
361361
% Check all components enabled
362362
testCase.verifyEmpty(findobj(testCase.Parent, 'Enable', 'off'))

0 commit comments

Comments
 (0)