-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnitTests: Error in Frontend/Basic.t #353
Comments
Confirmed, same errors under 10_1 as on August 14th. |
Because I had problems comparing rel-10_0 and rel_10-1
Issue #353: make sure that test numbers won't be messed up
I have analysed this for the Frontend module
For analysing the issue I considered two cases:
In both cases otobo.psgi is handled by the PerlResponseHandler Plack::Handler::Apache2. The initial impression was that 10.0 was working while 10.1 was broken. But this is only partially true, as the test script Frontend/Basic.t has limited knowledge what it should test. For 10_0 we get a response:
This is an empty JSON array, which is acceptable for Frontend/Basic.t . For t0_1 we get:
This empty message is not acceptable for Frontend/Basic.t . Both responses are incorrect as we really expect HTML with the error message Invalid Challenge Token!. The root of the problem is that TODO:
|
Also add Plan() and Note() to Kernel::System::UnitTest::Driver
mostly tidying, grabbed from the rel-10_1 branch Add the Exception object but don't use it yet
not only for CustomerFatalError()
Plack::Middleware::HTTPException does not catch string exceptions.
…/HTML/Layout.pm.new Issue #353: remove inadvertently added file
The attribute StdoutIsCaptured is no longer needed.
Issue #353: always throw exception when OTOBO_RUNS_UNDER_PSGI
Looks good. Closing the issue. |
Looks like this is reproducible. Needs to be investigated.
The text was updated successfully, but these errors were encountered: