-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] Annotation with data providers #7
Labels
sort/bug
Something isn't working
Comments
I have a hunch on this. I think the problem is in the Can you try this debug script? use PHPUnit\Unit\Test as TestUtil;
$annotations = TestUtil::parseTestMethodAnnotations(JobsControllerTest::class, 'testIndexHasCorrectJobs with data set #2');
var_dump($annotations);
// this should have the timeLimit subkey for the method key I'm suspecting |
|
Fixed in f9750f6. |
Confirmed, override time limit now shows:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment:
v1.1.1
Description:
When using the
@timeLimit
annotation on a test with a data provider the new limit is not respected.Steps to Reproduce:
Here's my actual test case (using
ControllerTester
):No matter what I set for
@timeLimit
I always get a warning:Notice that "Time Limit" is
0.5
.Expected Output:
Each iteration of a data-provided test should use the limit override.
The text was updated successfully, but these errors were encountered: