Commit f9a9701
committed
[TASK] Use
The `DEEPLMOCKAPISERVER` is only a really rudimentary
api implementation and do not simulate "full" api in
any way. That means, that not all source/target languages
are supported like for production api.
Therefore, when mock server is used, the supported content
and and translated strings are used for test expectations.
[TASK] Donate fine grained method to retrieve api url parts
`\WebVision\WvDeepltranslate\Configuration` transports the
required configuration settings through the system, which
is a good approach.
This change donates more fine grained read methods to this
class, to access api url parts. This is a preparation for
an upcoming change.DEEPLMOCKAPISERVER supported content and translation1 parent c1c263a commit f9a9701
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
56 | 71 | | |
57 | 72 | | |
58 | 73 | | |
| |||
0 commit comments