Skip to content

Commit

Permalink
Check correct log line
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Jan 3, 2021
1 parent 1873afb commit 61b6aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AlyxPanel_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function test_login(testCase)
testCase.assertTrue(testCase.Panel.AlyxInstance.IsLoggedIn);
% Check log
logPanel = findobj(testCase.hPanel, 'Tag', 'Logging Display');
testCase.verifyTrue(endsWith(logPanel.String{1}, 'Logged into Alyx successfully as test_user'))
testCase.verifyTrue(endsWith(logPanel.String{end}, 'Logged into Alyx successfully as test_user'))
labels = findobj(testCase.Parent, 'Style', 'text');
% Check all components enabled
testCase.verifyEmpty(findobj(testCase.Parent, 'Enable', 'off'))
Expand Down

0 comments on commit 61b6aa3

Please sign in to comment.