|
42 | 42 | ->description('Description') |
43 | 43 | ->site('@astrotomic_oss') |
44 | 44 | ->iPhoneApp('AppName', 'A1B2C3D4E5'); |
45 | | - assertMatchesHtmlSnapshot((string)$og); |
| 45 | + assertMatchesHtmlSnapshot((string) $og); |
46 | 46 |
|
47 | 47 | //With Correct URL |
48 | 48 | $og = App::make('Title | Example') |
49 | 49 | ->description('Description') |
50 | 50 | ->site('@astrotomic_oss') |
51 | 51 | ->iPhoneApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com'); |
52 | | - assertMatchesHtmlSnapshot((string)$og); |
| 52 | + assertMatchesHtmlSnapshot((string) $og); |
53 | 53 |
|
54 | 54 | //With Wrong URL |
55 | 55 | $og = App::make('Title | Example') |
56 | 56 | ->description('Description') |
57 | 57 | ->site('@astrotomic_oss') |
58 | 58 | ->iPhoneApp('AppName', 'A1B2C3D4E5', 'https:/app.domainname.com'); |
59 | | - assertMatchesHtmlSnapshot((string)$og); |
| 59 | + assertMatchesHtmlSnapshot((string) $og); |
60 | 60 |
|
61 | 61 | //With Correct Country |
62 | 62 | $og = App::make('Title | Example') |
63 | 63 | ->description('Description') |
64 | 64 | ->site('@astrotomic_oss') |
65 | 65 | ->iPhoneApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com') |
66 | 66 | ->country('HR'); |
67 | | - assertMatchesHtmlSnapshot((string)$og); |
| 67 | + assertMatchesHtmlSnapshot((string) $og); |
68 | 68 |
|
69 | 69 | //With Wrong Country |
70 | 70 | $og = App::make('Title | Example') |
71 | 71 | ->description('Description') |
72 | 72 | ->site('@astrotomic_oss') |
73 | 73 | ->iPhoneApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com') |
74 | 74 | ->country('CRO'); |
75 | | - assertMatchesHtmlSnapshot((string)$og); |
| 75 | + assertMatchesHtmlSnapshot((string) $og); |
76 | 76 | })->group('twitter', 'app'); |
77 | 77 |
|
78 | 78 | it('can generate iPad app tags ', function () { |
|
81 | 81 | ->description('Description') |
82 | 82 | ->site('@astrotomic_oss') |
83 | 83 | ->iPadApp('AppName', 'A1B2C3D4E5'); |
84 | | - assertMatchesHtmlSnapshot((string)$og); |
| 84 | + assertMatchesHtmlSnapshot((string) $og); |
85 | 85 |
|
86 | 86 | //With Correct URL |
87 | 87 | $og = App::make('Title | Example') |
88 | 88 | ->description('Description') |
89 | 89 | ->site('@astrotomic_oss') |
90 | 90 | ->iPadApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com'); |
91 | | - assertMatchesHtmlSnapshot((string)$og); |
| 91 | + assertMatchesHtmlSnapshot((string) $og); |
92 | 92 |
|
93 | 93 | //With Wrong URL |
94 | 94 | $og = App::make('Title | Example') |
95 | 95 | ->description('Description') |
96 | 96 | ->site('@astrotomic_oss') |
97 | 97 | ->iPadApp('AppName', 'A1B2C3D4E5', 'https:/app.domainname.com'); |
98 | | - assertMatchesHtmlSnapshot((string)$og); |
| 98 | + assertMatchesHtmlSnapshot((string) $og); |
99 | 99 |
|
100 | 100 | //With Correct Country |
101 | 101 | $og = App::make('Title | Example') |
102 | 102 | ->description('Description') |
103 | 103 | ->site('@astrotomic_oss') |
104 | 104 | ->iPadApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com') |
105 | 105 | ->country('HR'); |
106 | | - assertMatchesHtmlSnapshot((string)$og); |
| 106 | + assertMatchesHtmlSnapshot((string) $og); |
107 | 107 |
|
108 | 108 | //With Wrong Country |
109 | 109 | $og = App::make('Title | Example') |
110 | 110 | ->description('Description') |
111 | 111 | ->site('@astrotomic_oss') |
112 | 112 | ->iPadApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com') |
113 | 113 | ->country('CRO'); |
114 | | - assertMatchesHtmlSnapshot((string)$og); |
| 114 | + assertMatchesHtmlSnapshot((string) $og); |
115 | 115 | })->group('twitter', 'app'); |
116 | 116 |
|
117 | 117 | it('can generate Google Play app tags ', function () { |
|
120 | 120 | ->description('Description') |
121 | 121 | ->site('@astrotomic_oss') |
122 | 122 | ->googlePlayApp('AppName', 'id123456789'); |
123 | | - assertMatchesHtmlSnapshot((string)$og); |
| 123 | + assertMatchesHtmlSnapshot((string) $og); |
124 | 124 |
|
125 | 125 | //With Correct URL |
126 | 126 | $og = App::make('Title | Example') |
127 | 127 | ->description('Description') |
128 | 128 | ->site('@astrotomic_oss') |
129 | 129 | ->googlePlayApp('AppName', 'id123456789', 'https://app.domainname.com'); |
130 | | - assertMatchesHtmlSnapshot((string)$og); |
| 130 | + assertMatchesHtmlSnapshot((string) $og); |
131 | 131 |
|
132 | 132 | //With Wrong URL |
133 | 133 | $og = App::make('Title | Example') |
134 | 134 | ->description('Description') |
135 | 135 | ->site('@astrotomic_oss') |
136 | 136 | ->googlePlayApp('AppName', 'id123456789', 'https:/app.domainname.com'); |
137 | | - assertMatchesHtmlSnapshot((string)$og); |
| 137 | + assertMatchesHtmlSnapshot((string) $og); |
138 | 138 |
|
139 | 139 | //With Correct Country |
140 | 140 | $og = App::make('Title | Example') |
141 | 141 | ->description('Description') |
142 | 142 | ->site('@astrotomic_oss') |
143 | 143 | ->googlePlayApp('AppName', 'id123456789', 'https://app.domainname.com') |
144 | 144 | ->country('HR'); |
145 | | - assertMatchesHtmlSnapshot((string)$og); |
| 145 | + assertMatchesHtmlSnapshot((string) $og); |
146 | 146 |
|
147 | 147 | //With Wrong Country |
148 | 148 | $og = App::make('Title | Example') |
149 | 149 | ->description('Description') |
150 | 150 | ->site('@astrotomic_oss') |
151 | 151 | ->googlePlayApp('AppName', 'id123456789', 'https://app.domainname.com') |
152 | 152 | ->country('CRO'); |
153 | | - assertMatchesHtmlSnapshot((string)$og); |
| 153 | + assertMatchesHtmlSnapshot((string) $og); |
154 | 154 | })->group('twitter', 'app'); |
155 | 155 |
|
156 | 156 | it('can generate combined app tags ', function () { |
|
161 | 161 | ->iPhoneApp('AppName', 'A1B2C3D4E5', 'https://app.domainname.com') |
162 | 162 | ->googlePlayApp('AppName', 'id123456789', 'https://app.domainname.com') |
163 | 163 | ->country('HR'); |
164 | | - assertMatchesHtmlSnapshot((string)$og); |
| 164 | + assertMatchesHtmlSnapshot((string) $og); |
165 | 165 | })->group('twitter', 'app'); |
0 commit comments