Github user nitin-maharana commented on the pull request:

    https://github.com/apache/cloudstack/pull/775#issuecomment-143041644
  
    Hi. Here we have to access the database to see the behaviour of replace 
function. Because the replace function is evaluated in database server side. 
But in unit test we cannot access the database. We know the replace function 
will work properly if the parameters are sent correctly. So I have tested 
whether the parameters are sent correctly to the replace function while 
executing. I have done in two scenarios. Before the code change and after this 
commit. I have shared two screenshots of my test.
    
    1. Behaviour before this commit
    
![pr_775_before_change](https://cloud.githubusercontent.com/assets/12583725/10085731/65abb18e-6328-11e5-8060-a1c4c8fab9ee.png)
    
    2. Behaviour after this commit
    
![pr_775_after_change](https://cloud.githubusercontent.com/assets/12583725/10085734/6aeaf0ec-6328-11e5-9211-689ab5e347d0.png)
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to