Title: Mock for LocalDate is created with same variable name as mock for PetType · Issue #2638 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Mock for LocalDate is created with same variable name as mock for PetType · Issue #2638 · UnitTestBot/UTBotJava
X Title: Mock for LocalDate is created with same variable name as mock for PetType · Issue #2638 · UnitTestBot/UTBotJava
Description: Description There are two variables with name petTypeMock created in Unit tests for Pet To Reproduce Install -IU- UnitTestBot plugin in IntelliJ IDEA Open spring-petclinic Generate Unit tests for Pet with PetClinicApplication / No Config...
Open Graph Description: Description There are two variables with name petTypeMock created in Unit tests for Pet To Reproduce Install -IU- UnitTestBot plugin in IntelliJ IDEA Open spring-petclinic Generate Unit tests for P...
X Description: Description There are two variables with name petTypeMock created in Unit tests for Pet To Reproduce Install -IU- UnitTestBot plugin in IntelliJ IDEA Open spring-petclinic Generate Unit tests for P...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/2638
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mock for LocalDate is created with same variable name as mock for PetType","articleBody":"**Description**\r\n\r\nThere are two variables with name `petTypeMock` created in Unit tests for `Pet`\r\n\r\n**To Reproduce**\r\n\r\n1. Install **-IU-** [UnitTestBot plugin ](https://github.com/UnitTestBot/UTBotJava/actions/runs/6379925168) in IntelliJ IDEA\r\n2. Open `spring-petclinic`\r\n3. Generate `Unit tests` for `Pet` with `PetClinicApplication` / No Configuration\r\n\r\n**Expected behavior**\r\n\r\nNo mock for LocalDate is expected.\r\nVariables for mocks should be with unique consistent names.\r\nTests should be compiled.\r\n\r\n**Actual behavior**\r\n\r\nThere is mock for LocalDate.\r\nThere are two variables with name `petTypeMock`.\r\nTests are not compiling.\r\n\r\n**Screenshots, logs**\r\n\r\n\r\n\r\n\r\n\r\n**Environment**\r\n\r\nIntelliJ IDEA version - Community 2023.2\r\nProject - Maven\r\nJDK - 17\r\n","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2023-10-03T08:55:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2638/UTBotJava/issues/2638"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e4f7ab0-f938-77c1-20dc-8102a3f0ec00 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAB8:F45AB:5510FE:70CF99:698E5B09 |
| html-safe-nonce | 4c5c0478a2ab1428fb701740ecc2d157ebd32ca4fb65469f9905497451b6f940 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUI4OkY0NUFCOjU1MTBGRTo3MENGOTk6Njk4RTVCMDkiLCJ2aXNpdG9yX2lkIjoiODkwNDY0MjgzNzcxMjEwMDEwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0e69dbc45643cd8617bf012b05a5ad6eb3b0c012ddaee993784c4ef162284615 |
| hovercard-subject-tag | issue:1923650777 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UnitTestBot/UTBotJava/2638/issue_layout |
| twitter:image | https://opengraph.githubassets.com/398ed3276557cc41951588e3053b0ac61c08dc22931d8b0a1b30159ad2daf1e4/UnitTestBot/UTBotJava/issues/2638 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/398ed3276557cc41951588e3053b0ac61c08dc22931d8b0a1b30159ad2daf1e4/UnitTestBot/UTBotJava/issues/2638 |
| og:image:alt | Description There are two variables with name petTypeMock created in Unit tests for Pet To Reproduce Install -IU- UnitTestBot plugin in IntelliJ IDEA Open spring-petclinic Generate Unit tests for P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alisevych |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e08b85f0035d49bc4c22868f70a4d30fb8c2a777936895c37e78df095242ddc |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9416d07f3607b074b276ccc81546278f89608a08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width