Fixed unittest by not assigning nil to non-nil properties
commit8bdb2e6579a750625406675ca7fe01565a5355e0
authorshreyasv <shreyasv@chromium.org>
Tue, 16 Jun 2015 18:28:11 +0000 (16 11:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Jun 2015 18:28:43 +0000 (16 18:28 +0000)
treee44515e66ba6fefead6157afd606e0c8f2defe5d
parent1aeba7aa82e4f0aca479c340cdfeb425ba592db6
Fixed unittest by not assigning nil to non-nil properties

The test makes sure that the internals of a WKWebViewConfiguration are not
changed even when the values of the returned object are changed.

This patch changes the internals of the returned WKWebViewConfiguration object
by passing in non-nil values from another WKWebViewConfiguration.

BUG=498841

Review URL: https://codereview.chromium.org/1189803007

Cr-Commit-Position: refs/heads/master@{#334643}
ios/web/web_state/ui/wk_web_view_configuration_provider_unittest.mm